diff options
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r-- | editor/editor_help.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 80dd5aa114..c639ec86da 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -252,6 +252,8 @@ void EditorHelpSearch::_notification(int p_what) { connect("confirmed", this, "_confirmed"); _update_search(); + } else if (p_what == NOTIFICATION_EXIT_TREE) { + disconnect("confirmed", this, "_confirmed"); } else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) { if (is_visible_in_tree()) { |