summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-11 12:18:04 +0100
committerGitHub <noreply@github.com>2018-12-11 12:18:04 +0100
commit21593ff5bb7467cf1fd7d6e63f760d51d258f707 (patch)
tree7d16b957f7508fd483ed7be3f545bbea8583c72c /editor
parentfa024537a39c24bf9fb2e24063acee0daf63dfc1 (diff)
parent133031c65ee4ce09e6738a45c14f7e21ca2a8cf7 (diff)
Merge pull request #24270 from YeldhamDev/search_help_blocked_fix
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;