From 1c2464a5576af0f2959dd398272d504554623d30 Mon Sep 17 00:00:00 2001 From: requizm Date: Sat, 3 Sep 2022 17:46:45 +0300 Subject: [PATCH] Disabled "Escape" button when closing the shortcut window --- editor/editor_settings_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_settings_dialog.cpp b/editor/editor_settings_dialog.cpp index d190ab57c36..e729e48463f 100644 --- a/editor/editor_settings_dialog.cpp +++ b/editor/editor_settings_dialog.cpp @@ -763,6 +763,7 @@ EditorSettingsDialog::EditorSettingsDialog() { shortcut_editor = memnew(InputEventConfigurationDialog); shortcut_editor->connect("confirmed", callable_mp(this, &EditorSettingsDialog::_event_config_confirmed)); shortcut_editor->set_allowed_input_types(InputEventConfigurationDialog::InputType::INPUT_KEY); + shortcut_editor->set_close_on_escape(false); add_child(shortcut_editor); set_hide_on_ok(true);