From a886cee8b9bfb9825a7e9e80299a1d22faeb9903 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 28 Aug 2021 19:00:42 +0100 Subject: [PATCH] Repair a regression that disabled WSPR band hopping with Tx % eq 0 --- widgets/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 5b8a6af77..e6aaa9646 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -8129,9 +8129,9 @@ void MainWindow::WSPR_scheduling () return; } m_WSPR_tx_next = false; - if (!ui->sbTxPercent->isEnabled () || !ui->sbTxPercent->value ()) + if (!ui->sbTxPercent->isEnabled ()) { - return; // don't schedule if %age disabled or zero + return; // don't schedule if %age disabled } if (m_config.is_transceiver_online () // need working rig control for hopping && !m_config.is_dummy_rig ()