From 9b3c1f617f97fd4a2312cf8bf62ccb70252496f4 Mon Sep 17 00:00:00 2001 From: DualMatrix Date: Thu, 4 Oct 2018 22:27:05 +0200 Subject: [PATCH] Deselect recents when selecting favorites and vice versa in Create Node. Deselect recents when selecting favorites and vice versa in Create Node. --- editor/create_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index eb11aea9ccb..c4516c1f17e 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(); }