summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Hanl <mariushanl@web.de>2022-12-21 01:52:24 +0100
committerMarius Hanl <mariushanl@web.de>2022-12-21 01:52:24 +0100
commitc0baec410b0617ddb36c278230f3b60da1444af6 (patch)
treed504c92cd190866bb2feab13fe66dc890acfe811
parent2a04b18d37de6c6e621db5a9dfd1cd0da5ccb015 (diff)
Queue inspector tree update when changing the theme.
-rw-r--r--editor/editor_inspector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index 2df14aef6c..5bf45687ab 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -3867,6 +3867,10 @@ void EditorInspector::_notification(int p_what) {
_update_inspector_bg();
} break;
+ case NOTIFICATION_THEME_CHANGED: {
+ update_tree();
+ } break;
+
case NOTIFICATION_ENTER_TREE: {
if (!sub_inspector) {
get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed));