diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-05 08:50:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 08:50:44 +0200 |
commit | 0173cf640253af2f1a5c2dd583952e83c2a60ced (patch) | |
tree | 64e8f0992ece8ad577682e58634f196235e6736a | |
parent | 936cfd44eee870865ce6ca40d7a2edb983944b7c (diff) | |
parent | 9b3c1f617f97fd4a2312cf8bf62ccb70252496f4 (diff) |
Merge pull request #22732 from DualMatrix/deselect
Deselect recents when selecting favorites and vice versa in Create Node window.
-rw-r--r-- | editor/create_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index eb11aea9cc..c4516c1f17 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -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(); } |