summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/ConfigMain.cpp
diff options
context:
space:
mode:
authorChris Burgener <christhecoolist@gmail.com>2016-06-25 11:24:43 -0400
committerChris Burgener <christhecoolist@gmail.com>2016-06-30 20:20:48 -0400
commite92ff9d09f31cad57134969d99633fca52e98dac (patch)
treeea0c6eea6b151be45dd8c6480c2a97fc04b007d8 /Source/Core/DolphinWX/Config/ConfigMain.cpp
parent28a3691e70ba2a1b37dbb58b22dfd35336c99a80 (diff)
Add Dump Path to Configuration Menu
Diffstat (limited to 'Source/Core/DolphinWX/Config/ConfigMain.cpp')
-rw-r--r--Source/Core/DolphinWX/Config/ConfigMain.cpp6
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))