aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config
diff options
context:
space:
mode:
Diffstat (limited to 'utils/alsoft-config')
-rw-r--r--utils/alsoft-config/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index e799c4fb..f2db5c54 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -199,12 +199,18 @@ void MainWindow::loadConfig(const QString &fname)
int periodsize = settings.value("period_size").toInt();
ui->periodSizeEdit->clear();
if(periodsize >= 64)
+ {
ui->periodSizeEdit->insert(QString::number(periodsize));
+ updatePeriodSizeSlider();
+ }
int periodcount = settings.value("periods").toInt();
ui->periodCountEdit->clear();
if(periodcount >= 2)
+ {
ui->periodCountEdit->insert(QString::number(periodcount));
+ updatePeriodCountSlider();
+ }
QStringList disabledCpuExts = settings.value("disable-cpu-exts").toStringList();
if(disabledCpuExts.size() == 1)