diff --git a/aegisub/src/dialog_style_editor.cpp b/aegisub/src/dialog_style_editor.cpp index f3b1cf3dd..ccd82027e 100644 --- a/aegisub/src/dialog_style_editor.cpp +++ b/aegisub/src/dialog_style_editor.cpp @@ -82,6 +82,7 @@ DialogStyleEditor::DialogStyleEditor (wxWindow *parent, AssStyle *style, agi::Co , c(c) , isLocal(local) , isNew(newStyle) +, style(style) , work(new AssStyle(*style)) , store(store) {