You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #21046 from DualMatrix/recent_custom_type
Fixed custom nodes not working with favorites and recently used
This commit is contained in:
@@ -585,7 +585,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();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -595,7 +595,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