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
This commit is contained in:
Joe Taylor 2017-07-10 13:43:03 +00:00
parent 16a6a0df97
commit f975b67ebb
2 changed files with 7 additions and 0 deletions

View File

@ -6486,6 +6486,12 @@ void MainWindow::on_cbWeak_toggled(bool b)
if(b) ui->cbFirst->setChecked(!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) void MainWindow::write_transmit_entry (QString const& file_name)
{ {
QFile f {m_config.writeable_data_dir ().absoluteFilePath (file_name)}; QFile f {m_config.writeable_data_dir ().absoluteFilePath (file_name)};

View File

@ -240,6 +240,7 @@ private slots:
void on_cbMenus_toggled(bool b); void on_cbMenus_toggled(bool b);
void on_cbFirst_toggled(bool b); void on_cbFirst_toggled(bool b);
void on_cbWeak_toggled(bool b); void on_cbWeak_toggled(bool b);
void on_cbAutoSeq_toggled(bool b);
void networkError (QString const&); void networkError (QString const&);
void on_ClrAvgButton_clicked(); void on_ClrAvgButton_clicked();
void on_actionWSPR_triggered(); void on_actionWSPR_triggered();