Fix modified editor shortcuts being erased
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user