summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/ui.cpp3
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);
}
}