Fixed custom nodes not working properly with favorites and recently used in create node window.

This commit is contained in:
DualMatrix 2018-08-15 16:55:17 +02:00
parent ef5095720b
commit 9896b7bbf9

View file

@ -587,7 +587,7 @@ void CreateDialog::_history_selected() {
if (!item)
return;
search_box->set_text(item->get_text(0));
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
_update_search();
}
@ -597,7 +597,7 @@ void CreateDialog::_favorite_selected() {
if (!item)
return;
search_box->set_text(item->get_text(0));
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
_update_search();
}