summaryrefslogtreecommitdiff
path: root/tools/editor/groups_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/groups_editor.cpp')
-rw-r--r--tools/editor/groups_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/groups_editor.cpp b/tools/editor/groups_editor.cpp
index ed76f54562..2e82854014 100644
--- a/tools/editor/groups_editor.cpp
+++ b/tools/editor/groups_editor.cpp
@@ -39,6 +39,9 @@ void GroupsEditor::_notification(int p_what) {
if (p_what==NOTIFICATION_ENTER_TREE) {
connect("confirmed", this,"_close");
}
+ if (p_what==NOTIFICATION_EXIT_TREE) {
+ disconnect("confirmed", this,"_close");
+ }
}
void GroupsEditor::_close() {