mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #4484. Shortcuts no longer run in textboxes
Issue was causing shortcuts to be run when a text box was in use. This would end up causing a crash on widget text boxes and cause annoyance for dialog text boxes.
This commit is contained in:
parent
b792edb6dc
commit
c919a71e9e
|
@ -1452,8 +1452,9 @@ void title_handle_keyboard_input()
|
|||
if (w != NULL) {
|
||||
window_text_input_key(w, key);
|
||||
}
|
||||
|
||||
keyboard_shortcut_handle(key);
|
||||
else if (!gUsingWidgetTextBox) {
|
||||
keyboard_shortcut_handle(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue