summaryrefslogtreecommitdiff
path: root/editor/create_dialog.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-01 12:03:16 +0200
committerGitHub <noreply@github.com>2019-07-01 12:03:16 +0200
commite285114e0ce6534add2d74232ee61f6a4b2f1f81 (patch)
tree5a08bef6833ac326b7a9797d9703a7283eec344a /editor/create_dialog.h
parented2f753fdbacf7d7b4a8f0408dddb19ae2a6707f (diff)
parent80a0d1701bcaab3801d42707c40b7951b1d4bed1 (diff)
Merge pull request #30072 from mbrlabs/node-search-fix
Better pre-selection of search result node in "Create New Node" dialog.
Diffstat (limited to 'editor/create_dialog.h')
-rw-r--r--editor/create_dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h
index 0eddbc3ceb..f6c3b57589 100644
--- a/editor/create_dialog.h
+++ b/editor/create_dialog.h
@@ -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);