Merge pull request #236 from thepaperpilot/TerminalFocus

Re-enabled unfocusing the search bar in AUTOSEARCH and NEI_AUTOSEARCH mode
This commit is contained in:
thatsIch 2014-10-04 09:57:18 +02:00
commit ac42814d1f

View file

@ -334,9 +334,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
@Override
protected void mouseClicked(int xCoord, int yCoord, int btn)
{
Enum setting = AEConfig.instance.settings.getSetting( Settings.SEARCH_MODE );
if ( !(SearchBoxMode.AUTOSEARCH == setting || SearchBoxMode.NEI_AUTOSEARCH == setting) )
searchField.mouseClicked( xCoord, yCoord, btn );
searchField.mouseClicked( xCoord, yCoord, btn );
if ( btn == 1 && searchField.isMouseIn( xCoord, yCoord ) )
{