Fixed send button countdown text

This commit is contained in:
Jordan Sherer 2018-09-01 20:23:04 -04:00
parent b8c3b4ce91
commit 8c8218bdd8

View File

@ -8776,6 +8776,12 @@ void MainWindow::updateButtonDisplay(){
ui->replyMacroButton->setDisabled(isTransmitting || emptyCallsign);
ui->macrosMacroButton->setDisabled(isTransmitting);
ui->queryButton->setDisabled(isTransmitting || emptyCallsign);
if(isTransmitting){
int count = m_txFrameCount;
int sent = count - m_txFrameQueue.count();
ui->startTxButton->setText(QString("Sending (%1/%2)").arg(sent).arg(count));
}
}
QString MainWindow::callsignSelected(){