From 6ca5c61c3251dabc0343503821ca72e8a27f58b7 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 18 Mar 2015 16:28:49 +0000 Subject: [PATCH] Ensure Tx and Rx cursor are initialized from settings git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5072 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 18f04ded9..5e22c9930 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -553,8 +553,10 @@ void MainWindow::readSettings() ui->actionSave_decoded->setChecked(m_settings->value( "SaveDecoded",false).toBool()); ui->actionSave_all->setChecked(m_settings->value("SaveAll",false).toBool()); + ui->RxFreqSpinBox->setValue(0); // ensure a change is signaled ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq",1500).toInt()); m_lastMonitoredFrequency = m_settings->value ("DialFreq", QVariant::fromValue (default_frequency)).value (); + ui->TxFreqSpinBox->setValue(0); // ensure a change is signaled ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq",1500).toInt()); Q_EMIT transmitFrequency (ui->TxFreqSpinBox->value () - m_XIT); m_saveDecoded=ui->actionSave_decoded->isChecked();