diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-20 19:34:30 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-20 19:34:30 +0100 |
commit | 60375002196d3fa881029bc6ac743d3f05aff859 (patch) | |
tree | edd003ba575d32b90bbf7a6ce6d19687d81e69be /editor/editor_inspector.cpp | |
parent | b8f106acb24387d2f2c746a586edc0728fd10aaf (diff) | |
parent | a031911c828da4f6f93950afa0688ac062bc96bd (diff) | |
download | redot-engine-60375002196d3fa881029bc6ac743d3f05aff859.tar.gz |
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
Use `check_changed_settings_in_group()` everywhere
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 1a704f3a15..3ee61f5203 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -43,6 +43,7 @@ #include "editor/multi_node_edit.h" #include "editor/plugins/script_editor_plugin.h" #include "editor/themes/editor_scale.h" +#include "editor/themes/editor_theme_manager.h" #include "scene/gui/spin_box.h" #include "scene/gui/texture_rect.h" #include "scene/property_utils.h" @@ -4045,7 +4046,9 @@ void EditorInspector::_notification(int p_what) { } break; case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { - _update_inspector_bg(); + if (EditorThemeManager::is_generated_theme_outdated()) { + _update_inspector_bg(); + } bool needs_update = false; |