mirror of https://github.com/odrling/Aegisub
Fix option data type for the version check auto check toggle, avoid insane exception when closing version check result dialogue.
Originally committed to SVN as r4638.
This commit is contained in:
parent
37cd66c950
commit
201f654ca9
|
@ -550,7 +550,7 @@ void VersionCheckerResultDialog::OnRemindMeLater(wxCommandEvent &evt)
|
||||||
|
|
||||||
void VersionCheckerResultDialog::OnClose(wxCloseEvent &evt)
|
void VersionCheckerResultDialog::OnClose(wxCloseEvent &evt)
|
||||||
{
|
{
|
||||||
OPT_SET("App/Auto/Check For Updates")->SetBool(automatic_check_checkbox->GetValue());
|
OPT_SET("App/Auto/Check For Updates")->SetInt(automatic_check_checkbox->GetValue()?1:0);
|
||||||
Destroy();
|
Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue