summaryrefslogtreecommitdiffstats
path: root/editor/create_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/create_dialog.cpp')
-rw-r--r--editor/create_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp
index cacf5c744f..5f693fdbb6 100644
--- a/editor/create_dialog.cpp
+++ b/editor/create_dialog.cpp
@@ -482,6 +482,7 @@ void CreateDialog::set_preferred_search_result_type(const String &p_preferred_ty
String CreateDialog::get_preferred_search_result_type() {
return preferred_search_result_type;
}
+
String CreateDialog::get_selected_type() {
TreeItem *selected = search_options->get_selected();
if (selected)
@@ -644,6 +645,7 @@ bool CreateDialog::can_drop_data_fw(const Point2 &p_point, const Variant &p_data
return false;
}
+
void CreateDialog::drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) {
Dictionary d = p_data;