mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix modified editor shortcuts being erased
This commit is contained in:
parent
ef34c3d534
commit
9fadd0d99e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue