aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/create_dialog.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-16 16:39:20 -0300
committerJuan Linietsky2015-06-16 16:39:20 -0300
commit37af8b413674936518a2ebe180f9e7bfcd5795bb (patch)
treeda6993ed2cd087d93392c2c5542a70a078716fd2 /tools/editor/create_dialog.cpp
parent669f5c994b5fe9fb870eae5db86b231202361617 (diff)
parentf2a29aadc620c2296e08ca20e926b54191c37540 (diff)
downloadgodot-37af8b413674936518a2ebe180f9e7bfcd5795bb.tar.gz
godot-37af8b413674936518a2ebe180f9e7bfcd5795bb.tar.zst
godot-37af8b413674936518a2ebe180f9e7bfcd5795bb.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) {