Flush options after asking the first-startup questions

Originally committed to SVN as r6789.
This commit is contained in:
Thomas Goyne 2012-05-15 13:39:55 +00:00
parent 4940a98e85
commit fc7164422c

View file

@ -216,6 +216,7 @@ FrameMain::FrameMain (wxArrayString args)
OPT_SET("App/First Start")->SetBool(false);
int result = wxMessageBox(_("Do you want Aegisub to check for updates whenever it starts? You can still do it manually via the Help menu."),_("Check for updates?"), wxYES_NO | wxCENTER);
OPT_SET("App/Auto/Check For Updates")->SetBool(result == wxYES);
config::opt->Flush();
}
PerformVersionCheck(false);