summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-22 16:39:21 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-22 16:39:21 +0100
commitc547c4ef5908b9d591497e40217200ecb12e0ebd (patch)
tree7339296cdc979b8e21e1633dff8eef383b0a84e2
parent5fe0d8df220bb9140a29e557e8392039105e31b7 (diff)
Revert "Queue inspector tree update when changing the theme."
This reverts commit c0baec410b0617ddb36c278230f3b60da1444af6. See comments in #70381.
-rw-r--r--editor/editor_inspector.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index e2ed264645..88a1bbb4a9 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -3856,10 +3856,6 @@ 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));