Echo mode is *not* a Simplex mode.

Code that sets Echo mode calls "WSPR_config(true)" to make a bunch
of irrelevant GUI controls invisible, thus simplifying the user
interface.  However, Echo mode should NOT be set as a simplex mode.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-06-12 14:09:40 +00:00
parent f688b26128
commit fee9f658c7
1 changed files with 3 additions and 2 deletions

View File

@ -2144,6 +2144,7 @@ void MainWindow::guiUpdate()
int(100*m_s6/6.0));
if(nsec != m_sec0) { //Once per second
qDebug() << m_bSimplex;
if(m_mode!="Echo") {
int ipct=0;
if(m_monitoring or m_transmitting) ipct=int(100*m_nseq/txDuration);
@ -3180,7 +3181,7 @@ void MainWindow::on_actionEcho_triggered()
mode_label->setText(m_mode);
on_actionAstronomical_data_triggered ();
VHF_controls_visible(false);
WSPR_config(true);
WSPR_config(true); //Make some irrelevant controls invisible
ui->decodedTextLabel->setText(" UTC N Level Sig DF Width Q");
auto_tx_label->setText("");
ui->tabWidget->setCurrentIndex(0);
@ -3223,7 +3224,7 @@ void MainWindow::WSPR_config(bool b)
ui->lookupButton->setVisible(!b);
ui->addButton->setVisible(!b);
ui->DecodeButton->setEnabled(!b);
if(b) {
if(b and (m_mode!="Echo")) {
ui->decodedTextLabel->setText(
"UTC dB DT Freq Drift Call Grid dBm Dist");
auto_tx_label->setText("");