Merge pull request #56980 from KoBeWi/handled_key_input

This commit is contained in:
Rémi Verschelde 2022-01-20 20:25:01 +01:00 committed by GitHub
commit 880855264f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3689,7 +3689,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
ED_SHORTCUT("script_editor/next_script", TTR("Next Script"), KeyModifierMask::CMD | KeyModifierMask::SHIFT | Key::PERIOD);
ED_SHORTCUT("script_editor/prev_script", TTR("Previous Script"), KeyModifierMask::CMD | KeyModifierMask::SHIFT | Key::COMMA);
set_process_input(true);
set_process_unhandled_input(true);
set_process_unhandled_key_input(true);
file_menu = memnew(MenuButton);
file_menu->set_text(TTR("File"));