diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-26 19:54:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-27 09:37:13 +0200 |
commit | a220e0af0fb7f9a8efdf24d325e5188f14d386f6 (patch) | |
tree | ed1c5be38c5d0b92c31d0b7a69ec1c71b06fef8b | |
parent | 8adcd7acc7280c84a959db0da2d79a0ed918a1ca (diff) |
ui: save everything before switching profiles
-rw-r--r-- | facetracknoir/ui.cpp | 2 |
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); |