summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/ConfigMain.cpp
diff options
context:
space:
mode:
authorChris Burgener <christhecoolist@gmail.com>2016-06-30 20:46:52 -0400
committerGitHub <noreply@github.com>2016-06-30 20:46:52 -0400
commit046c96f1b825756ce598f9c84b82f204d66b4aab (patch)
tree1a7b82ffe25bb225ed5e78416832b72894849cab /Source/Core/DolphinWX/Config/ConfigMain.cpp
parenteccda1dde6648351376bb36840176d040107ae1a (diff)
parente92ff9d09f31cad57134969d99633fca52e98dac (diff)
Merge pull request #3944 from RisingFog/configurable_dump_path
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))