Disabled "Escape" button when closing the shortcut window
This commit is contained in:
parent
b8977ca333
commit
1c2464a557
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue