v2.0.0: fixed using keys to close inv. not cancelling selectors properly
This commit is contained in:
@@ -364,7 +364,7 @@ public class WndBag extends WndTabbed {
|
||||
@Override
|
||||
public boolean onSignal(KeyEvent event) {
|
||||
if (event.pressed && KeyBindings.getActionForKey( event ) == SPDAction.INVENTORY) {
|
||||
hide();
|
||||
onBackPressed();
|
||||
return true;
|
||||
} else {
|
||||
return super.onSignal(event);
|
||||
|
||||
Reference in New Issue
Block a user