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
@ -558,6 +558,7 @@ void CreateDialog::_history_selected() {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||||
|
favorites->deselect_all();
|
||||||
_update_search();
|
_update_search();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -568,6 +569,7 @@ void CreateDialog::_favorite_selected() {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||||
|
recent->deselect_all();
|
||||||
_update_search();
|
_update_search();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user