summaryrefslogtreecommitdiff
path: root/editor/editor_resource_picker.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_resource_picker.h')
-rw-r--r--editor/editor_resource_picker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.h b/editor/editor_resource_picker.h
index 20fafe1780..9a4b945bc7 100644
--- a/editor/editor_resource_picker.h
+++ b/editor/editor_resource_picker.h
@@ -51,7 +51,7 @@ class EditorResourcePicker : public HBoxContainer {
Button *assign_button;
TextureRect *preview_rect;
Button *edit_button;
- EditorFileDialog *file_dialog;
+ EditorFileDialog *file_dialog = nullptr;
enum MenuOption {
OBJ_MENU_LOAD,