mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
Make sure that m_Nslots is really changed.
This commit is contained in:
parent
be021f0d01
commit
24ea7d0e6a
@ -2675,8 +2675,10 @@ void MainWindow::statusChanged()
|
||||
ui->sbNslots->setVisible(true);
|
||||
if(ui->cbSendMsg->isChecked()) {
|
||||
ui->sbNslots->setValue(2);
|
||||
m_Nslots=2;
|
||||
} else {
|
||||
ui->sbNslots->setValue(5);
|
||||
m_Nslots=5;
|
||||
}
|
||||
} else {
|
||||
ui->sbNslots->setVisible(true);
|
||||
@ -9223,8 +9225,10 @@ void MainWindow::on_cbSendMsg_toggled(bool b)
|
||||
return; // don't do anything with slot values unless SuperFox mode
|
||||
if(b) {
|
||||
ui->sbNslots->setValue(2);
|
||||
m_Nslots=2;
|
||||
} else {
|
||||
ui->sbNslots->setValue(5);
|
||||
m_Nslots=5;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user