diff --git a/ChangeLog.txt b/ChangeLog.txt index d1d419e..311d6ba 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -8,8 +8,9 @@ CatRadio + Repeater shift offset + DCS code and squelch + COM port list in the communication config dialog + * Bug fix: address the proper VFO red during Tx * Bug correction: IF shift slider now correctly updated - * Bug correction: CW/FM tab autofocus freeze + * Bug fix: CW/FM tab autofocus freeze 1.1.1 - 2022-03-19 * VFO operations: check rig caps before perform VFO operations diff --git a/mainwindow.cpp b/mainwindow.cpp index ea6cb62..0feba44 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -421,16 +421,20 @@ void MainWindow::guiUpdate() if (rigGet.ptt == RIG_PTT_ON) { ui->pushButton_PTT->setChecked(true); - ui->label_vfoMain->setStyleSheet("QLabel {background-color: red}"); + + if (rigGet.vfoTx == rigGet.vfoSub) ui->label_vfoSub->setStyleSheet("QLabel {background-color: red}"); + else ui->label_vfoMain->setStyleSheet("QLabel {background-color: red}"); ui->progressBar_Smeter->setTx(true); ui->progressBar_Smeter->setValue(rigGet.powerMeter.f*100); ui->progressBar_subMeter->setValue(rigGet.subMeter.f); } - else + else //RIG_PTT_OFF { ui->pushButton_PTT->setChecked(false); - ui->label_vfoMain->setStyleSheet("QLabel {}"); + + if (rigGet.vfoTx == rigGet.vfoSub) ui->label_vfoSub->setStyleSheet("QLabel {}"); + else ui->label_vfoMain->setStyleSheet("QLabel {}"); ui->progressBar_Smeter->setTx(false); ui->progressBar_Smeter->setValue(rigGet.sMeter.i);