Update m_Nslots appropriately.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-02-07 16:17:40 +00:00
parent fdac6d3799
commit 6504085749

View File

@ -3566,9 +3566,11 @@ void MainWindow::guiUpdate()
m_config.my_callsign()=="G4WJS" or m_config.my_callsign()=="KH1/KH7Z" or
m_config.my_callsign().contains("AA7A") or m_config.my_callsign().contains("N1DG")) {
ui->sbNslots->setMaximum(5);
m_Nslots=ui->sbNslots->value();
ui->sbNslots->setEnabled(true);
} else {
ui->sbNslots->setMaximum(1);
m_Nslots=1;
ui->sbNslots->setEnabled(false);
}
}