From d75c8fdc832b04161722a8e3bd916882ebaa1181 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 9 Nov 2019 09:58:55 -0500 Subject: [PATCH] Fixed decode speed setting restoration on restart --- mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 25a355d..f336730 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2329,11 +2329,10 @@ void MainWindow::readSettings() // set the frequency offset setFreqOffsetForRestore(m_settings->value("RxFreq",1500).toInt(), false); - m_nSubMode=m_settings->value("SubMode",0).toInt(); + setSubmode(m_settings->value("SubMode", Varicode::JS8CallNormal).toInt()); ui->actionModeJS8HB->setChecked(m_nSubMode == Varicode::JS8CallNormal && m_settings->value("SubModeHB", false).toBool()); ui->actionHeartbeatAcknowledgements->setChecked(m_settings->value("SubModeHBAck", false).toBool()); ui->actionModeMultiDecoder->setChecked(m_settings->value("SubModeMultiDecode", true).toBool()); - setSubmode(m_nSubMode); ui->sbFtol->setValue (m_settings->value("Ftol", 20).toInt()); m_minSync=m_settings->value("MinSync",0).toInt();