forked from mia/Aegisub
Flush options after asking the first-startup questions
Originally committed to SVN as r6789.
This commit is contained in:
parent
4940a98e85
commit
fc7164422c
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
OPT_SET("App/First Start")->SetBool(false);
|
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);
|
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);
|
OPT_SET("App/Auto/Check For Updates")->SetBool(result == wxYES);
|
||||||
|
config::opt->Flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
PerformVersionCheck(false);
|
PerformVersionCheck(false);
|
||||||
|
|
Loading…
Reference in a new issue