Skip to content

Commit a748362

Browse files
authored
Merge pull request #269 from WhalesState/project-settings-fix
Improve: prevent ProjectSettings from emitting settings changes.
2 parents c2628b9 + f62e5db commit a748362

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/config/project_settings.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,9 +1028,10 @@ Error ProjectSettings::save_custom(const String &p_path, const CustomMap &p_cust
10281028
}
10291029
}
10301030
project_features = _trim_to_supported_features(project_features);
1031-
if (get_setting("application/config/features") != project_features) {
1032-
set_setting("application/config/features", project_features);
1033-
}
1031+
1032+
is_changed = true;
1033+
set_setting("application/config/features", project_features);
1034+
is_changed = false;
10341035
#endif // TOOLS_ENABLED
10351036

10361037
RBSet<_VCSort> vclist;

0 commit comments

Comments
 (0)