summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-26 19:54:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-27 09:37:13 +0200
commita220e0af0fb7f9a8efdf24d325e5188f14d386f6 (patch)
treeed1c5be38c5d0b92c31d0b7a69ec1c71b06fef8b /facetracknoir/ui.cpp
parent8adcd7acc7280c84a959db0da2d79a0ed918a1ca (diff)
ui: save everything before switching profiles
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 15c94bd7..0befd813 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -195,6 +195,8 @@ void MainWindow::refresh_config_list()
if (work)
return;
+ save();
+
if (group::ini_list().size() == 0)
{
QFile filename(group::ini_directory() + "/" OPENTRACK_DEFAULT_CONFIG);