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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h
index fe7c89c059..6526116b09 100644
--- a/editor/create_dialog.h
+++ b/editor/create_dialog.h
@@ -47,24 +47,24 @@ class CreateDialog : public ConfirmationDialog {
OTHER_TYPE
};
- LineEdit *search_box;
- Tree *search_options;
+ LineEdit *search_box = nullptr;
+ Tree *search_options = nullptr;
String base_type;
String icon_fallback;
String preferred_search_result_type;
- Button *favorite;
+ Button *favorite = nullptr;
Vector<String> favorite_list;
- Tree *favorites;
- ItemList *recent;
- EditorHelpBit *help_bit;
+ Tree *favorites = nullptr;
+ ItemList *recent = nullptr;
+ EditorHelpBit *help_bit = nullptr;
HashMap<String, TreeItem *> search_options_types;
HashMap<String, String> custom_type_parents;
HashMap<String, int> custom_type_indices;
List<StringName> type_list;
- Set<StringName> type_blacklist;
+ RBSet<StringName> type_blacklist;
void _update_search();
bool _should_hide_type(const String &p_type) const;