Browse Source

Fix a node reparenting warning in the editor debugger

Yuri Sizov 3 years ago
parent
commit
b89cf4dcf9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      editor/debugger/script_editor_debugger.cpp

+ 0 - 1
editor/debugger/script_editor_debugger.cpp

@@ -1778,7 +1778,6 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
 		inspector->register_text_enter(search);
 		inspector->set_use_filter(true);
 		inspector_vbox->add_child(inspector);
-		sc->add_child(inspector);
 
 		breakpoints_tree = memnew(Tree);
 		breakpoints_tree->set_h_size_flags(SIZE_EXPAND_FILL);