summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-05 08:50:44 +0200
committerGitHub <noreply@github.com>2018-10-05 08:50:44 +0200
commit0173cf640253af2f1a5c2dd583952e83c2a60ced (patch)
tree64e8f0992ece8ad577682e58634f196235e6736a
parent936cfd44eee870865ce6ca40d7a2edb983944b7c (diff)
parent9b3c1f617f97fd4a2312cf8bf62ccb70252496f4 (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.cpp2
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();
}