From 7039a258695205eae26d12fa161cb2080327ff30 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 25 Mar 2021 11:15:21 +0000 Subject: [PATCH] Fix unused variable warning --- widgets/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 696e5ee86..767051a0a 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -5237,8 +5237,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie genStdMsgs (QString::number (ui->rptSpinBox->value ())); } if(m_transmitting) m_restart=true; - if (ui->cbAutoSeq->isVisible () && ui->cbAutoSeq->isChecked () - && !m_bDoubleClicked && m_mode!="FT4") { + if (auto_seq && !m_bDoubleClicked && m_mode!="FT4") { return; } if(m_config.quick_call() && m_bDoubleClicked) auto_tx_mode(true);