aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/create_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/create_dialog.cpp
parentedf1f271180a8e2481ebb3d7808f47493e5ad13e (diff)
downloadgodot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.gz
godot-8228fea02feabbfdd4def950e67f9ea6507d981d.tar.zst
godot-8228fea02feabbfdd4def950e67f9ea6507d981d.zip
Diffstat (limited to 'tools/editor/create_dialog.cpp')
-rw-r--r--tools/editor/create_dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp
index f5bef2580..c0f35a4ac 100644
--- a/tools/editor/create_dialog.cpp
+++ b/tools/editor/create_dialog.cpp
@@ -230,6 +230,11 @@ void CreateDialog::_notification(int p_what) {
connect("confirmed",this,"_confirmed");
_update_search();
}
+ if (p_what==NOTIFICATION_EXIT_TREE) {
+
+ disconnect("confirmed",this,"_confirmed");
+
+ }
if (p_what==NOTIFICATION_VISIBILITY_CHANGED) {