From 2303734fbae83846de984dc028bb8a45bcc4f55d Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 28 Jan 2019 22:31:40 -0500 Subject: [PATCH] Clear tx queue before warning message too. --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index e07a655..256e2b7 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -11671,6 +11671,9 @@ void MainWindow::tx_watchdog (bool triggered) ui->hbMacroButton->setChecked(false); ui->cqMacroButton->setChecked(false); + // clear the tx queues + resetMessageTransmitQueue(); + MessageBox::warning_message(this, QString("You have been inactive for more than %1 minutes.").arg(m_config.watchdog())); // clear the tx queues