diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-26 09:41:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-26 09:41:11 +0200 |
commit | 7e7691f67e4e276a40a52f80735ff6875351a218 (patch) | |
tree | d5ae1dc8f9d92d50c232b55e7b9c715bf9d6285a /facetracknoir | |
parent | fa374bca7b8e034987e96fa3d3f87c63d36a407f (diff) |
ui: switch to newly-created config
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/ui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp index 9e1d477c..6aa47fb6 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -159,6 +159,8 @@ void MainWindow::make_empty_config() { QFile filename(dir + "/" + name); (void) filename.open(QFile::ReadWrite); + refresh_config_list(); + ui.iconcomboProfile->setCurrentText(name); } } @@ -173,6 +175,7 @@ void MainWindow::make_copied_config() (void) QFile::remove(new_name); (void) QFile::copy(cur, new_name); refresh_config_list(); + ui.iconcomboProfile->setCurrentText(name); } } |