diff options
author | DualMatrix <piet.goris@gmail.com> | 2018-10-04 22:27:05 +0200 |
---|---|---|
committer | DualMatrix <piet.goris@gmail.com> | 2018-10-04 22:31:48 +0200 |
commit | 9b3c1f617f97fd4a2312cf8bf62ccb70252496f4 (patch) | |
tree | b5e43c6c7aa73268259cd016ff1afb60280213d9 | |
parent | 0f4c30fb7166e84d93f0b2cb20d726f869155d98 (diff) |
Deselect recents when selecting favorites and vice versa in Create Node.
Deselect recents when selecting favorites and vice versa in Create Node.
-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(); } |