Remove Q closing from module settings
This commit is contained in:
parent
227956e97b
commit
9644d1b0c9
|
@ -267,10 +267,6 @@ public final class ModuleListComponent extends ResizableHudComponent {
|
||||||
public void keyTyped(char typedChar, int keyCode) {
|
public void keyTyped(char typedChar, int keyCode) {
|
||||||
super.keyTyped(typedChar, keyCode);
|
super.keyTyped(typedChar, keyCode);
|
||||||
|
|
||||||
if (keyCode == Keyboard.KEY_Q) {
|
|
||||||
this.currentSettings = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.currentSettings != null) {
|
if (this.currentSettings != null) {
|
||||||
this.currentSettings.keyTyped(typedChar, keyCode);
|
this.currentSettings.keyTyped(typedChar, keyCode);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue