From a0ddc1485ee28c516b61a6dfd8b1ad2e39d300ed Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 24 Jan 2019 17:29:03 -0500 Subject: [PATCH] Make the ProgressBar invisible in FT2 mode. --- widgets/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index baff7adad..85099122e 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3887,12 +3887,13 @@ void MainWindow::guiUpdate() //To keep calling Fox, Hound must reactivate Enable Tx at least once every 2 minutes if(tHound >= 120 and m_ntx==1) auto_tx_mode(false); } + + progressBar.setVisible(!(m_mode=="FT2")); if(m_auto and m_mode=="Echo" and m_bEchoTxOK) { progressBar.setMaximum(6); progressBar.setValue(int(m_s6)); } - - if(m_mode!="Echo") { + if(m_mode!="Echo" and m_mode!="FT2") { if(m_monitoring or m_transmitting) { progressBar.setMaximum(m_TRperiod); int isec=int(fmod(tsec,m_TRperiod));