From 762f0fb3e16eed391fda8de25f8a58a270e46624 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 2 Jul 2018 23:03:07 -0400 Subject: [PATCH] Added proper send countdown --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 7749325..090f986 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5109,6 +5109,10 @@ bool MainWindow::prepareNextMessageFrame() return false; } else { ui->nextFreeTextMsg->setText(frame); + + int count = m_txFrameCount; + int sent = count - m_txFrameQueue.count(); + ui->startTxButton->setText(QString("Sending (%1/%2)").arg(sent).arg(count)); return true; }