diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-01-06 20:25:05 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-01-06 23:40:50 +0100 |
commit | 6fbe0a494b9945f7adcc8603ebfbfeb040f718ba (patch) | |
tree | 1deb0db29e89cb1ca37e8834e5d089fe876390dc /editor/create_dialog.h | |
parent | 8158d17edf18e3d6ec847d2cb710012361e7b12e (diff) | |
download | redot-engine-6fbe0a494b9945f7adcc8603ebfbfeb040f718ba.tar.gz |
Fix cases of resources destroyed too early
Diffstat (limited to 'editor/create_dialog.h')
-rw-r--r-- | editor/create_dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h index b76155365f..b08cb72f14 100644 --- a/editor/create_dialog.h +++ b/editor/create_dialog.h @@ -102,7 +102,7 @@ protected: void _save_and_update_favorite_list(); public: - Object *instance_selected(); + Variant instance_selected(); String get_selected_type(); void set_base_type(const String &p_base) { base_type = p_base; } |