diff options
| author | Juan Linietsky | 2015-06-14 02:13:47 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-14 02:13:47 -0300 |
| commit | 8228fea02feabbfdd4def950e67f9ea6507d981d (patch) | |
| tree | 95ccefb9330b693e44f20bddfbf8a6544ad34341 /tools/editor/create_dialog.cpp | |
| parent | edf1f271180a8e2481ebb3d7808f47493e5ad13e (diff) | |
| download | godot-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.cpp | 5 |
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) { |
