summaryrefslogtreecommitdiffstats
path: root/editor/project_settings_editor.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-01-11 15:59:52 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-04-05 13:46:45 +0300
commitd1207a0504329ea4da17753697785e227f53328e (patch)
tree04df5069927adf08dbffa30f05bcfaada43a119d /editor/project_settings_editor.cpp
parent479143ab2a6917bb696568a1daccd9466defd167 (diff)
downloadredot-engine-d1207a0504329ea4da17753697785e227f53328e.tar.gz
[Input] Add extra `shortcut_input` input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r--editor/project_settings_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index 1318287dc8..8aaf3ddbef 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -49,7 +49,7 @@ void ProjectSettingsEditor::popup_project_settings() {
_add_feature_overrides();
general_settings_inspector->update_category_list();
- set_process_unhandled_input(true);
+ set_process_shortcut_input(true);
localization_editor->update_translations();
autoload_settings->update_autoload();
@@ -202,7 +202,7 @@ void ProjectSettingsEditor::_select_type(Variant::Type p_type) {
type_box->select(type_box->get_item_index(p_type));
}
-void ProjectSettingsEditor::unhandled_input(const Ref<InputEvent> &p_event) {
+void ProjectSettingsEditor::shortcut_input(const Ref<InputEvent> &p_event) {
ERR_FAIL_COND(p_event.is_null());
const Ref<InputEventKey> k = p_event;