diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp index 229eb79e11c9..104b0a73c4cf 100644 --- a/editor/editor_help_search.cpp +++ b/editor/editor_help_search.cpp @@ -445,6 +445,9 @@ bool EditorHelpSearch::Runner::_phase_match_classes() { } void EditorHelpSearch::Runner::_populate_cache() { + // Deselect to prevent re-selection issues. + results_tree->deselect_all(); + root_item = results_tree->get_root(); if (root_item) {