summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-20 20:25:01 +0100
committerGitHub <noreply@github.com>2022-01-20 20:25:01 +0100
commit880855264fdaf7b0a2ead6cf76a3722c4af43257 (patch)
treece56098bb7c44499caf49540efe7ef569105f122
parent8fc0dd9997c80059ec2b273e7004daa458d370ee (diff)
parentb4ad04078c2a2bc83997b5fc318d9857bffbbed3 (diff)
Merge pull request #56980 from KoBeWi/handled_key_input
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 468f5aeb18..8359ac7448 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -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"));