diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-05 14:03:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 14:03:39 +0200 |
commit | f00803b8a5e1e8c584424bc2e86f83f061857dad (patch) | |
tree | f2dc980175d0200034cf84e89a6a3c8091c20db8 /editor/editor_file_dialog.cpp | |
parent | c91f4ac4192d44fd22c67626eb520d70194ca72e (diff) | |
parent | d1207a0504329ea4da17753697785e227f53328e (diff) |
Merge pull request #56695 from bruvzg/mod_unicode_input
Diffstat (limited to 'editor/editor_file_dialog.cpp')
-rw-r--r-- | editor/editor_file_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp index ab403c4212..179894915b 100644 --- a/editor/editor_file_dialog.cpp +++ b/editor/editor_file_dialog.cpp @@ -106,7 +106,7 @@ void EditorFileDialog::_notification(int p_what) { case NOTIFICATION_VISIBILITY_CHANGED: { if (!is_visible()) { - set_process_unhandled_input(false); + set_process_shortcut_input(false); } } break; @@ -126,7 +126,7 @@ void EditorFileDialog::_notification(int p_what) { } } -void EditorFileDialog::unhandled_input(const Ref<InputEvent> &p_event) { +void EditorFileDialog::shortcut_input(const Ref<InputEvent> &p_event) { ERR_FAIL_COND(p_event.is_null()); Ref<InputEventKey> k = p_event; @@ -327,7 +327,7 @@ void EditorFileDialog::_post_popup() { _update_favorites(); } - set_process_unhandled_input(true); + set_process_shortcut_input(true); } void EditorFileDialog::_thumbnail_result(const String &p_path, const Ref<Texture2D> &p_preview, const Ref<Texture2D> &p_small_preview, const Variant &p_udata) { |