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:
duncanspumpkin 2016-09-25 10:23:54 +01:00
parent b792edb6dc
commit c919a71e9e
1 changed files with 3 additions and 2 deletions

View File

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