瀏覽代碼

Merge pull request #47791 from Chaosus/fix_doc_theme

Fix doc theme not changing when its changed via settings
Rémi Verschelde 4 年之前
父節點
當前提交
08491ec543
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_help.cpp

+ 1 - 1
editor/editor_help.cpp

@@ -1593,7 +1593,7 @@ void EditorHelp::_notification(int p_what) {
 			_update_doc();
 			_update_doc();
 		} break;
 		} break;
 		case NOTIFICATION_THEME_CHANGED: {
 		case NOTIFICATION_THEME_CHANGED: {
-			if (is_visible_in_tree()) {
+			if (is_inside_tree()) {
 				_class_desc_resized();
 				_class_desc_resized();
 			}
 			}
 		} break;
 		} break;