Merge pull request #22732 from DualMatrix/deselect

Deselect recents when selecting favorites and vice versa in Create Node window.
This commit is contained in:
Rémi Verschelde 2018-10-05 08:50:44 +02:00 committed by GitHub
commit 0173cf6402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}