1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Merge pull request #23518 from volzhs/confirmed_already_connected

Fix error with a specific dock layout
This commit is contained in:
Rémi Verschelde
2018-11-05 13:06:27 +01:00
committed by GitHub
4 changed files with 9 additions and 0 deletions

View File

@@ -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()) {