summaryrefslogtreecommitdiffstats
path: root/editor/editor_sectioned_inspector.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-11-21 14:47:16 +0100
committerkobewi <kobewi4e@gmail.com>2022-11-21 14:47:16 +0100
commit538b84d41af1a37ea555edbc45e937f5b4375f39 (patch)
tree56e586a74d726005d3edc1eef64514edbf66df51 /editor/editor_sectioned_inspector.cpp
parentafe1c89fb5af11fe7e38d01ad09bfafa8f9b493f (diff)
downloadredot-engine-538b84d41af1a37ea555edbc45e937f5b4375f39.tar.gz
Don't update EditorSettings dialog unnecessarily
Diffstat (limited to 'editor/editor_sectioned_inspector.cpp')
-rw-r--r--editor/editor_sectioned_inspector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp
index ae47bbe864..5c8ef89ac9 100644
--- a/editor/editor_sectioned_inspector.cpp
+++ b/editor/editor_sectioned_inspector.cpp
@@ -312,7 +312,9 @@ void SectionedInspector::_search_changed(const String &p_what) {
void SectionedInspector::_notification(int p_what) {
switch (p_what) {
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
- inspector->set_property_name_style(EditorPropertyNameProcessor::get_settings_style());
+ if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/localize_settings")) {
+ inspector->set_property_name_style(EditorPropertyNameProcessor::get_settings_style());
+ }
} break;
}
}