diff options
Diffstat (limited to 'Source/Core/DolphinWX/Config/ConfigMain.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Config/ConfigMain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Config/ConfigMain.cpp b/Source/Core/DolphinWX/Config/ConfigMain.cpp index a238f41373..3a62f7e97b 100644 --- a/Source/Core/DolphinWX/Config/ConfigMain.cpp +++ b/Source/Core/DolphinWX/Config/ConfigMain.cpp @@ -95,14 +95,14 @@ void CConfigMain::CreateGUIControls() void CConfigMain::OnClose(wxCloseEvent& WXUNUSED(event)) { EndModal((m_refresh_game_list_on_close) ? wxID_OK : wxID_CANCEL); + + // Save the config. Dolphin crashes too often to only save the settings on closing + SConfig::GetInstance().SaveSettings(); } void CConfigMain::OnOk(wxCommandEvent& WXUNUSED(event)) { Close(); - - // Save the config. Dolphin crashes too often to only save the settings on closing - SConfig::GetInstance().SaveSettings(); } void CConfigMain::OnSetRefreshGameListOnClose(wxCommandEvent& WXUNUSED(event)) |
