diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-16 18:28:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 18:28:03 +0200 |
commit | 134d071ca7f14df7158d7fb08ec8f822b72f4c03 (patch) | |
tree | 314d98d2712f30524ce579ab13f2197e97054c62 | |
parent | e06825ba4b207346902ddb54a29f45f82ec6f8a2 (diff) | |
parent | 9896b7bbf920d35e301848abe46a8fd7d944952b (diff) |
Merge pull request #21046 from DualMatrix/recent_custom_type
Fixed custom nodes not working with favorites and recently used
-rw-r--r-- | editor/create_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index 0bc4244642..8433f4ff7b 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -585,7 +585,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(); } @@ -595,7 +595,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(); } |