mirror of https://github.com/godotengine/godot
Merge pull request #112831 from ryevdokimov/fix-erased-editor-shortcuts
Fix modified editor shortcuts being erased
This commit is contained in:
commit
dd3df2a075
|
|
@ -101,7 +101,7 @@ bool EditorSettings::_set_only(const StringName &p_name, const Variant &p_value)
|
|||
Ref<Shortcut> sc;
|
||||
sc.instantiate();
|
||||
sc->set_events(shortcut_events);
|
||||
add_shortcut(shortcut_name, sc);
|
||||
_add_shortcut_default(shortcut_name, sc);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue