aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
-rw-r--r--tools/editor/script_editor_debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index 00066e67e..024377ad1 100644
--- a/tools/editor/script_editor_debugger.cpp
+++ b/tools/editor/script_editor_debugger.cpp
@@ -431,7 +431,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
switch(p_what) {
- case NOTIFICATION_ENTER_SCENE: {
+ case NOTIFICATION_ENTER_TREE: {
step->set_icon( get_icon("DebugStep","EditorIcons"));
next->set_icon( get_icon("DebugNext","EditorIcons"));
@@ -771,7 +771,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){
inspector = memnew( PropertyEditor );
inspector->set_h_size_flags(SIZE_EXPAND_FILL);
inspector->hide_top_label();
- inspector->get_tree()->set_column_title(0,"Variable");
+ inspector->get_scene_tree()->set_column_title(0,"Variable");
inspector->set_capitalize_paths(false);
inspector->set_read_only(true);
sc->add_child(inspector);