From 8228fea02feabbfdd4def950e67f9ea6507d981d Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 14 Jun 2015 02:13:47 -0300 Subject: missing changes --- tools/editor/reparent_dialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/editor/reparent_dialog.cpp') diff --git a/tools/editor/reparent_dialog.cpp b/tools/editor/reparent_dialog.cpp index d35316f67f..6d0c5b867e 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(); -- cgit v1.2.3