Merge pull request #65290 from requizm/fix/65081/cannot_set_escape
Disabled "Escape" button when closing the shortcut window
This commit is contained in:
commit
919d8b3711
1 changed files with 1 additions and 0 deletions
|
@ -772,6 +772,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);
|
||||
|
|
Loading…
Reference in a new issue