mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-25 02:42:28 -04:00
Limit NSlots to 2 if an SF free text message is to be sent.
This commit is contained in:
parent
131aca18dc
commit
3a9c1256bd
@ -2674,7 +2674,7 @@ void MainWindow::statusChanged()
|
|||||||
if (m_config.superFox()) {
|
if (m_config.superFox()) {
|
||||||
ui->sbNslots->setVisible(false);
|
ui->sbNslots->setVisible(false);
|
||||||
if(ui->cbSendMsg->isChecked()) {
|
if(ui->cbSendMsg->isChecked()) {
|
||||||
ui->sbNslots->setValue(4);
|
ui->sbNslots->setValue(2);
|
||||||
} else {
|
} else {
|
||||||
ui->sbNslots->setValue(5);
|
ui->sbNslots->setValue(5);
|
||||||
}
|
}
|
||||||
@ -9222,7 +9222,7 @@ void MainWindow::on_cbSendMsg_toggled(bool b)
|
|||||||
if (!(m_config.superFox() && m_specOp==SpecOp::FOX))
|
if (!(m_config.superFox() && m_specOp==SpecOp::FOX))
|
||||||
return; // don't do anything with slot values unless SuperFox mode
|
return; // don't do anything with slot values unless SuperFox mode
|
||||||
if(b) {
|
if(b) {
|
||||||
ui->sbNslots->setValue(4); //### Is the correct value 4? Or 2? Is better logic needed? ###
|
ui->sbNslots->setValue(2);
|
||||||
} else {
|
} else {
|
||||||
ui->sbNslots->setValue(5);
|
ui->sbNslots->setValue(5);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user