diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 02:13:47 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 02:13:47 -0300 |
commit | 8228fea02feabbfdd4def950e67f9ea6507d981d (patch) | |
tree | 95ccefb9330b693e44f20bddfbf8a6544ad34341 /tools/editor/scene_tree_editor.cpp | |
parent | edf1f271180a8e2481ebb3d7808f47493e5ad13e (diff) |
missing changes
Diffstat (limited to 'tools/editor/scene_tree_editor.cpp')
-rw-r--r-- | tools/editor/scene_tree_editor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/editor/scene_tree_editor.cpp b/tools/editor/scene_tree_editor.cpp index 94eea969fe..fd841028a2 100644 --- a/tools/editor/scene_tree_editor.cpp +++ b/tools/editor/scene_tree_editor.cpp @@ -498,6 +498,7 @@ void SceneTreeEditor::_notification(int p_what) { get_tree()->disconnect("tree_changed",this,"_tree_changed"); get_tree()->disconnect("node_removed",this,"_node_removed"); + tree->disconnect("item_collapsed",this,"_cell_collapsed"); _update_tree(); } @@ -810,6 +811,11 @@ void SceneTreeDialog::_notification(int p_what) { connect("confirmed", this,"_select"); } + + if (p_what==NOTIFICATION_EXIT_TREE) { + disconnect("confirmed", this,"_select"); + + } if (p_what==NOTIFICATION_DRAW) { RID ci = get_canvas_item(); |