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,8 +334,6 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
@Override @Override
protected void mouseClicked(int xCoord, int yCoord, int btn) 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 ) ) if ( btn == 1 && searchField.isMouseIn( xCoord, yCoord ) )