Merge pull request #22732 from DualMatrix/deselect
Deselect recents when selecting favorites and vice versa in Create Node window.
This commit is contained in:
commit
0173cf6402
1 changed files with 2 additions and 0 deletions
|
@ -558,6 +558,7 @@ void CreateDialog::_history_selected() {
|
|||
return;
|
||||
|
||||
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||
favorites->deselect_all();
|
||||
_update_search();
|
||||
}
|
||||
|
||||
|
@ -568,6 +569,7 @@ void CreateDialog::_favorite_selected() {
|
|||
return;
|
||||
|
||||
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||
recent->deselect_all();
|
||||
_update_search();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue