Merge pull request #87476 from AThousandShips/search_fix

Fix selection regression in `EditorHelpSearch`
This commit is contained in:
Yuri Sizov 2024-01-22 20:39:40 +01:00
commit 6fea273ed3
1 changed files with 3 additions and 0 deletions

View File

@ -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) {