mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
Fix gui closed when inv keybind pressed while text field in focus (#1255)
This commit is contained in:
1 parent
658d03b988
commit
a6f80dcfc2
1 file changed
+1
-3
@@ -183,9 +183,7 @@ public abstract class GuiAmount extends GuiSub {
|
||||
if (!this.checkHotbarKeys(key)) {
|
||||
if (key == Keyboard.KEY_RETURN || key == Keyboard.KEY_NUMPADENTER) {
|
||||
this.actionPerformed(this.nextBtn);
|
||||
}
|
||||
this.amountTextField.textboxKeyTyped(character, key);
|
||||
super.keyTyped(character, key);
|
||||
} else if (!this.amountTextField.textboxKeyTyped(character, key)) super.keyTyped(character, key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user