1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Deselect recents when selecting favorites and vice versa in Create Node.

Deselect recents when selecting favorites and vice versa in Create Node.
This commit is contained in:
DualMatrix
2018-10-04 22:27:05 +02:00
parent 0f4c30fb71
commit 9b3c1f617f

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