Fix modified editor shortcuts being erased

This commit is contained in:
Robert Yevdokimov 2025-11-15 14:44:01 -06:00
parent ef34c3d534
commit 9fadd0d99e

View file

@ -101,7 +101,7 @@ bool EditorSettings::_set_only(const StringName &p_name, const Variant &p_value)
Ref<Shortcut> sc; Ref<Shortcut> sc;
sc.instantiate(); sc.instantiate();
sc->set_events(shortcut_events); sc->set_events(shortcut_events);
add_shortcut(shortcut_name, sc); _add_shortcut_default(shortcut_name, sc);
} }
return false; return false;