summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-10 18:11:27 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-11 00:43:13 -0200
commit133031c65ee4ce09e6738a45c14f7e21ca2a8cf7 (patch)
tree7d16b957f7508fd483ed7be3f545bbea8583c72c /editor
parentfa024537a39c24bf9fb2e24063acee0daf63dfc1 (diff)
Fix "blocked > 0" error when selecting an item in the Search Help dialog
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_help_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp
index 4e4c5143f2..d6dc812d38 100644
--- a/editor/editor_help_search.cpp
+++ b/editor/editor_help_search.cpp
@@ -130,7 +130,7 @@ void EditorHelpSearch::_notification(int p_what) {
} break;
case NOTIFICATION_POPUP_HIDE: {
- results_tree->clear();
+ results_tree->call_deferred("clear"); // Wait for the Tree's mouse event propagation.
get_ok()->set_disabled(true);
EditorSettings::get_singleton()->set_project_metadata("dialog_bounds", "search_help", get_rect());
} break;