summaryrefslogtreecommitdiff
path: root/editor/plugins/style_box_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/style_box_editor_plugin.h')
-rw-r--r--editor/plugins/style_box_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/style_box_editor_plugin.h b/editor/plugins/style_box_editor_plugin.h
index bdebebbe1c..663440ae31 100644
--- a/editor/plugins/style_box_editor_plugin.h
+++ b/editor/plugins/style_box_editor_plugin.h
@@ -40,7 +40,7 @@
class StyleBoxPreview : public VBoxContainer {
GDCLASS(StyleBoxPreview, VBoxContainer);
- Control *preview;
+ Control *preview = nullptr;
Ref<StyleBox> stylebox;
void _sb_changed();