From c70661461e1cd2ad067c8bf21720500d44ba9a30 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 31 Oct 2018 21:52:58 -0400 Subject: [PATCH] Fixed selcall button should prevent heartbeat acks --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 419a842..179bed9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8859,7 +8859,7 @@ void MainWindow::processCommandActivity() { } // PROCESS HEARTBEAT - else if (d.cmd == " HEARTBEAT" && ui->heartbeatButton->isChecked() && ui->autoReplyButton->isChecked()){ + else if (d.cmd == " HEARTBEAT" && ui->heartbeatButton->isChecked() && ui->autoReplyButton->isChecked() && !ui->selcalButton->isChecked()){ reply = QString("%1 HEARTBEAT ACK %2").arg(d.from).arg(Varicode::formatSNR(d.snr)); enqueueHeartbeat(reply);