Fix selection regression in `EditorHelpSearch`

This commit is contained in:
A Thousand Ships 2024-01-22 17:06:42 +01:00
parent 0bcc0e92b3
commit 3b7b484300
No known key found for this signature in database
GPG Key ID: 2033189A662F8BD7
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) {