From f975b67ebba6d7cd337c84debe0aeeb821c26a0d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 10 Jul 2017 13:43:03 +0000 Subject: [PATCH] Make "Call 1st" invisible when AutoSeq is not checked. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7835 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 ++++++ mainwindow.h | 1 + 2 files changed, 7 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index e52f53b51..901f091a5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -6486,6 +6486,12 @@ void MainWindow::on_cbWeak_toggled(bool b) if(b) ui->cbFirst->setChecked(!b); } +void MainWindow::on_cbAutoSeq_toggled(bool b) +{ + if(!b) ui->cbFirst->setChecked(false); + ui->cbFirst->setVisible(b); +} + void MainWindow::write_transmit_entry (QString const& file_name) { QFile f {m_config.writeable_data_dir ().absoluteFilePath (file_name)}; diff --git a/mainwindow.h b/mainwindow.h index ad65f543a..2a585afeb 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -240,6 +240,7 @@ private slots: void on_cbMenus_toggled(bool b); void on_cbFirst_toggled(bool b); void on_cbWeak_toggled(bool b); + void on_cbAutoSeq_toggled(bool b); void networkError (QString const&); void on_ClrAvgButton_clicked(); void on_actionWSPR_triggered();