Limit NSlots to 2 if an SF free text message is to be sent.

This commit is contained in:
Uwe Risse 2024-09-23 12:22:24 +02:00
parent 131aca18dc
commit 3a9c1256bd

View File

@ -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);
} }