Skip to content

Commit dd3df2a

Browse files
committed
Merge pull request #112831 from ryevdokimov/fix-erased-editor-shortcuts
Fix modified editor shortcuts being erased
2 parents f4bb9ea + 9fadd0d commit dd3df2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/settings/editor_settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool EditorSettings::_set_only(const StringName &p_name, const Variant &p_value)
101101
Ref<Shortcut> sc;
102102
sc.instantiate();
103103
sc->set_events(shortcut_events);
104-
add_shortcut(shortcut_name, sc);
104+
_add_shortcut_default(shortcut_name, sc);
105105
}
106106

107107
return false;

0 commit comments

Comments
 (0)