Преглед на файлове

Fix "blocked > 0" error when selecting an item in the Search Help dialog

Michael Alexsander Silva Dias преди 6 години
родител
ревизия
133031c65e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      editor/editor_help_search.cpp

+ 1 - 1
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;