Merge pull request #33887 from dankan1890/old_search_fix
Fixed missing scrolling in Search Help Dialog.
This commit is contained in:
commit
ae04d23cce
2 changed files with 6 additions and 1 deletions
|
@ -170,7 +170,11 @@ void EditorHelpSearch::popup_dialog(const String &p_term) {
|
|||
if (p_term == "") {
|
||||
search_box->clear();
|
||||
} else {
|
||||
if (old_term == p_term)
|
||||
old_search = true;
|
||||
else
|
||||
old_term = p_term;
|
||||
|
||||
search_box->set_text(p_term);
|
||||
search_box->select_all();
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@ class EditorHelpSearch : public ConfirmationDialog {
|
|||
OptionButton *filter_combo;
|
||||
Tree *results_tree;
|
||||
bool old_search;
|
||||
String old_term;
|
||||
|
||||
class Runner;
|
||||
Ref<Runner> search;
|
||||
|
|
Loading…
Reference in a new issue