From e92ff9d09f31cad57134969d99633fca52e98dac Mon Sep 17 00:00:00 2001 From: Chris Burgener Date: Sat, 25 Jun 2016 11:24:43 -0400 Subject: Add Dump Path to Configuration Menu --- Source/Core/DolphinWX/Config/ConfigMain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinWX/Config/ConfigMain.cpp') 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)) -- cgit v1.2.3