fix errors while reordering input maps
This commit is contained in:
parent
20ed51a912
commit
c6ea376842
1 changed files with 2 additions and 1 deletions
|
@ -451,7 +451,8 @@ void ProjectSettingsEditor::_action_reordered(const String &p_action_name, const
|
|||
|
||||
for (const PropertyInfo &prop : props) {
|
||||
// Skip builtins and non-inputs
|
||||
if (ProjectSettings::get_singleton()->is_builtin_setting(prop.name) || !prop.name.begins_with("input/")) {
|
||||
// Order matters here, checking for "input/" filters out properties that aren't settings and produce errors in is_builtin_setting().
|
||||
if (!prop.name.begins_with("input/") || ProjectSettings::get_singleton()->is_builtin_setting(prop.name)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue