summaryrefslogtreecommitdiff
path: root/editor/create_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/create_dialog.h')
-rw-r--r--editor/create_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h
index 03c4b25f5c..f6c3b57589 100644
--- a/editor/create_dialog.h
+++ b/editor/create_dialog.h
@@ -44,7 +44,7 @@
class CreateDialog : public ConfirmationDialog {
- GDCLASS(CreateDialog, ConfirmationDialog)
+ GDCLASS(CreateDialog, ConfirmationDialog);
Vector<String> favorite_list;
Tree *favorites;
@@ -90,6 +90,7 @@ class CreateDialog : public ConfirmationDialog {
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
bool _is_class_disabled_by_feature_profile(const StringName &p_class);
+ bool _is_type_prefered(const String &type);
protected:
void _notification(int p_what);