diff options
author | Yuri Sizov <yuris@humnom.net> | 2024-01-22 20:39:40 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2024-01-22 20:39:40 +0100 |
commit | 6fea273ed3df7d4be9674d35aae698731fa823ea (patch) | |
tree | 13e8a3b5cd3ff25f7012372fd43782fc96143814 | |
parent | a07df648eccabceae84ba6c1590cdeca4753b114 (diff) | |
parent | 3b7b4843007faf723c400acfe5891f2768447123 (diff) | |
download | redot-engine-6fea273ed3df7d4be9674d35aae698731fa823ea.tar.gz |
Merge pull request #87476 from AThousandShips/search_fix
Fix selection regression in `EditorHelpSearch`
-rw-r--r-- | editor/editor_help_search.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp index 229eb79e11..104b0a73c4 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) { |