Don't update EditorSettings dialog unnecessarily
This commit is contained in:
parent
afe1c89fb5
commit
538b84d41a
@ -312,7 +312,9 @@ void SectionedInspector::_search_changed(const String &p_what) {
|
|||||||
void SectionedInspector::_notification(int p_what) {
|
void SectionedInspector::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
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;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,9 @@ void EditorSettingsDialog::_notification(int p_what) {
|
|||||||
_update_shortcuts();
|
_update_shortcuts();
|
||||||
}
|
}
|
||||||
|
|
||||||
inspector->update_category_list();
|
if (EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/localize_settings")) {
|
||||||
|
inspector->update_category_list();
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user