From 8a572eb4a2c7bd0c204f6f1f405be29353636efc Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 23 May 2020 09:05:01 -0400 Subject: [PATCH] Add a mode label color for FT4, and fix a typo. Thanks to Yukio, JG1APX! --- widgets/mainwindow.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 93989a9a3..480692acd 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1194,7 +1194,7 @@ void MainWindow::readSettings() m_ndepth=m_settings->value("NDepth",3).toInt(); m_pctx=m_settings->value("PctTx",20).toInt(); m_dBm=m_settings->value("dBm",37).toInt(); - m_send_RR73=m_settings->value("RR73",37).toBool(); + m_send_RR73=m_settings->value("RR73",false).toBool(); if(m_send_RR73) { m_send_RR73=false; on_txrb4_doubleClicked(); @@ -2286,10 +2286,13 @@ void MainWindow::setup_status_bar (bool vhf) mode_label.setStyleSheet ("QLabel{background-color: #99ff33}"); } else if ("MSK144" == m_mode) { mode_label.setStyleSheet ("QLabel{background-color: #ff6666}"); + } else if ("FT4" == m_mode) { + mode_label.setStyleSheet ("QLabel{background-color: #ff0099}"); } else if ("FT8" == m_mode) { mode_label.setStyleSheet ("QLabel{background-color: #6699ff}"); } else if ("FreqCal" == m_mode) { - mode_label.setStyleSheet ("QLabel{background-color: #ff9933}"); } + mode_label.setStyleSheet ("QLabel{background-color: #ff9933}"); + } last_tx_label.setText (QString {}); if (m_mode.contains (QRegularExpression {R"(^(Echo|ISCAT))"})) { if (band_hopping_label.isVisible ()) statusBar ()->removeWidget (&band_hopping_label);