Merge pull request #496 from mstiles92/fix-470
Fix terminal search box losing focus in auto mode. Fixes #470
This commit is contained in:
commit
1b416ac596
1 changed files with 6 additions and 1 deletions
|
@ -345,7 +345,12 @@ 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)
|
||||||
{
|
{
|
||||||
searchField.mouseClicked( xCoord, yCoord, 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 ) )
|
if ( btn == 1 && searchField.isMouseIn( xCoord, yCoord ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue