summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2018-11-05 11:45:25 +0900
committervolzhs <volzhs@gmail.com>2018-11-05 11:45:25 +0900
commit9f62f79dbb7b0be1ed863dc86a46a04c80286ce3 (patch)
tree87abed013a6a97ac4a56022ceb9b4388ed486fdb /editor/editor_help.cpp
parent7438093562006e90394f0099bb829cd3c246c5fa (diff)
downloadredot-engine-9f62f79dbb7b0be1ed863dc86a46a04c80286ce3.tar.gz
Fix error with a specific dock layout
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp2
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()) {