Merge pull request #496 from mstiles92/fix-470

Fix terminal search box losing focus in auto mode. Fixes #470
This commit is contained in:
Chris 2014-11-26 06:43:09 -08:00
commit 1b416ac596

View file

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