summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-01-20 00:32:41 +0100
committerkobewi <kobewi4e@gmail.com>2022-01-20 15:11:44 +0100
commitb4ad04078c2a2bc83997b5fc318d9857bffbbed3 (patch)
treecc103459313f4edb3010190e207fc44aa2e94d7f /editor
parentc13319db8d26604bc4074883f417512138fdfc57 (diff)
Fix unhandled_key_input() in Script Editor
Diffstat (limited to 'editor')
-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"));