Skip to content

Commit 9a44dee

Browse files
committed
Fix EditorHelp's FindBar search index
1 parent 428a762 commit 9a44dee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/editor_help.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4813,6 +4813,8 @@ void FindBar::popup_search() {
48134813
search_text->select_all();
48144814
search_text->set_caret_column(search_text->get_text().length());
48154815
if (grabbed_focus) {
4816+
rich_text_label->deselect();
4817+
results_count_to_current = 0;
48164818
_search();
48174819
}
48184820
}

0 commit comments

Comments
 (0)