Fixed custom nodes not working properly with favorites and recently used in create node window.
This commit is contained in:
parent
ef5095720b
commit
9896b7bbf9
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ void CreateDialog::_history_selected() {
|
||||||
if (!item)
|
if (!item)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
search_box->set_text(item->get_text(0));
|
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||||
_update_search();
|
_update_search();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -597,7 +597,7 @@ void CreateDialog::_favorite_selected() {
|
||||||
if (!item)
|
if (!item)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
search_box->set_text(item->get_text(0));
|
search_box->set_text(item->get_text(0).get_slicec(' ', 0));
|
||||||
_update_search();
|
_update_search();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue