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:
Niels Martin Hansen 2010-06-29 10:06:19 +00:00
parent 37cd66c950
commit 201f654ca9
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }