1
0
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:
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) 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();
} }