Fixed custom nodes not working properly with favorites and recently used in create node window.
This commit is contained in:
parent
ef5095720b
commit
9896b7bbf9
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue