aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/reparent_dialog.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-14 02:13:47 -0300
committerJuan Linietsky2015-06-14 02:13:47 -0300
commit8228fea02feabbfdd4def950e67f9ea6507d981d (patch)
tree95ccefb9330b693e44f20bddfbf8a6544ad34341 /tools/editor/reparent_dialog.cpp
parentedf1f271180a8e2481ebb3d7808f47493e5ad13e (diff)
downloadgodot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.gz
godot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.zst
godot-8228fea02feabbfdd4def950e67f9ea6507d981d.zip
missing changes
Diffstat (limited to 'tools/editor/reparent_dialog.cpp')
-rw-r--r--tools/editor/reparent_dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/editor/reparent_dialog.cpp b/tools/editor/reparent_dialog.cpp
index d35316f67..6d0c5b867 100644
--- a/tools/editor/reparent_dialog.cpp
+++ b/tools/editor/reparent_dialog.cpp
@@ -41,6 +41,11 @@ void ReparentDialog::_notification(int p_what) {
connect("confirmed", this,"_reparent");
}
+ if (p_what==NOTIFICATION_EXIT_TREE) {
+
+ disconnect("confirmed", this,"_reparent");
+ }
+
if (p_what==NOTIFICATION_DRAW) {
//RID ci = get_canvas_item();