mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-09 09:24:59 -04:00
Re Sh and SWL: allow either or neither, but not both.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+6
-3
@@ -4178,7 +4178,6 @@ void MainWindow::displayWidgets(int n)
|
||||
}
|
||||
if(i==23) {
|
||||
ui->cbSWL->setVisible(b);
|
||||
ui->cbSWL->setEnabled(b and ui->cbShMsgs->isChecked());
|
||||
}
|
||||
j=j>>1;
|
||||
}
|
||||
@@ -5569,9 +5568,8 @@ void MainWindow::on_cbFast9_clicked(bool b)
|
||||
void MainWindow::on_cbShMsgs_toggled(bool b)
|
||||
{
|
||||
ui->cbTx6->setEnabled(b);
|
||||
ui->cbSWL->setEnabled(b);
|
||||
m_bShMsgs=b;
|
||||
if(!b) ui->cbSWL->setChecked(false);
|
||||
if(b) ui->cbSWL->setChecked(false);
|
||||
if(m_bShMsgs and (m_mode=="MSK144")) ui->rptSpinBox->setValue(1);
|
||||
int itone0=itone[0];
|
||||
int ntx=m_ntx;
|
||||
@@ -5585,6 +5583,11 @@ void MainWindow::on_cbShMsgs_toggled(bool b)
|
||||
if(ntx==6) ui->txrb6->setChecked(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_cbSWL_toggled(bool b)
|
||||
{
|
||||
if(b) ui->cbShMsgs->setChecked(false);
|
||||
}
|
||||
|
||||
void MainWindow::on_cbTx6_toggled(bool b)
|
||||
{
|
||||
QString t;
|
||||
|
||||
Reference in New Issue
Block a user