瀏覽代碼

Revert "Queue inspector tree update when changing the theme."

This reverts commit c0baec410b0617ddb36c278230f3b60da1444af6.

See comments in #70381.
Rémi Verschelde 2 年之前
父節點
當前提交
c547c4ef59
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      editor/editor_inspector.cpp

+ 0 - 4
editor/editor_inspector.cpp

@@ -3856,10 +3856,6 @@ void EditorInspector::_notification(int p_what) {
 			_update_inspector_bg();
 			_update_inspector_bg();
 		} break;
 		} break;
 
 
-		case NOTIFICATION_THEME_CHANGED: {
-			update_tree();
-		} break;
-
 		case NOTIFICATION_ENTER_TREE: {
 		case NOTIFICATION_ENTER_TREE: {
 			if (!sub_inspector) {
 			if (!sub_inspector) {
 				get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed));
 				get_tree()->connect("node_removed", callable_mp(this, &EditorInspector::_node_removed));