Restore behaviour of ESCAPE always closing the GUI (#3601)

This commit is contained in:
fscan
2018-07-14 16:32:21 +02:00
committed by GitHub
parent 7fe7f4b1c2
commit e2c0129037
@@ -487,7 +487,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
return; return;
} }
if( this.searchField.isFocused() && ( key == Keyboard.KEY_ESCAPE || key == Keyboard.KEY_RETURN ) ) if( this.searchField.isFocused() && key == Keyboard.KEY_RETURN )
{ {
this.searchField.setFocused( false ); this.searchField.setFocused( false );
return; return;