You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fixed custom nodes not working properly with favorites and recently used in create node window.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user