v2.0.0: fixed using keys to close inv. not cancelling selectors properly

This commit is contained in:
Evan Debenham
2023-02-06 14:03:22 -05:00
parent 865423f5ba
commit 3e4209d621

View File

@@ -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);