diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-07 13:35:24 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-07 13:35:24 +0200 |
commit | 1190614731aedef1f8371b048a5a58ea8b8649eb (patch) | |
tree | 53546f0bd5f164521362784494e1f71959e8bb74 /facetracknoir | |
parent | f70ca81f281197781639a24e78499dc27c828b12 (diff) |
ui: fix profile switch on change pending
Diffstat (limited to 'facetracknoir')
-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 b615ace7..db7cadb5 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -438,6 +438,8 @@ void MainWindow::exit() { void MainWindow::profileSelected(QString name) { + maybe_save(); + if (name == "" || is_refreshing_profiles) return; |