From 133031c65ee4ce09e6738a45c14f7e21ca2a8cf7 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Mon, 10 Dec 2018 18:11:27 -0200 Subject: Fix "blocked > 0" error when selecting an item in the Search Help dialog --- editor/editor_help_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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; -- cgit v1.2.3