diff options
Diffstat (limited to 'utils/alsoft-config/mainwindow.cpp')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index c2e36fb4..26d05f8f 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -596,7 +596,8 @@ void MainWindow::loadConfig(const QString &fname) ui->srcSendLineEdit->insert(settings.value("sends").toString()); QString resampler = settings.value("resampler").toString().trimmed(); - ui->resamplerSlider->setValue(0); + ui->resamplerSlider->setValue(2); + ui->resamplerLabel->setText(resamplerList[2].name); /* The "cubic" and "sinc8" resamplers are no longer supported. Use "sinc4" * as a fallback. */ @@ -607,6 +608,7 @@ void MainWindow::loadConfig(const QString &fname) if(resampler == resamplerList[i].value) { ui->resamplerSlider->setValue(i); + ui->resamplerLabel->setText(resamplerList[i].name); break; } } |