summaryrefslogtreecommitdiffstats
path: root/editor/editor_inspector.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-11-23 00:14:08 +0100
committerkobewi <kobewi4e@gmail.com>2024-02-19 21:34:45 +0100
commita031911c828da4f6f93950afa0688ac062bc96bd (patch)
tree67c9e6adbc28186ae60bff4afcb2ba2ece47bd59 /editor/editor_inspector.cpp
parent0246230e2b7c542f003c3c53cffc22dedc0c9c50 (diff)
downloadredot-engine-a031911c828da4f6f93950afa0688ac062bc96bd.tar.gz
Use check_changed_settings_in_group() everywhere
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r--editor/editor_inspector.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index 583a52ed52..12b643cb29 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;