save settings on close config dialog... dolphin crashes by far to often to save the settings on closing only

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1071 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc 2008-11-05 12:02:35 +00:00
parent ff084ad22a
commit c429c7e275
1 changed files with 3 additions and 0 deletions

View File

@ -317,6 +317,9 @@ void CConfigMain::OnClose(wxCloseEvent& WXUNUSED (event))
{
PanicAlert("Could not write to Wii SYSCONF");
}
// save the config... dolphin crashes by far to often to save the settings on closing only
SConfig::GetInstance().SaveSettings();
}
void CConfigMain::CloseClick(wxCommandEvent& WXUNUSED (event))