mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-11 22:08:32 -04:00
Don't allow switch to MSK144 if m_Ncontest > 2.
This commit is contained in:
parent
96e589e8b1
commit
355d2f5b15
@ -5729,6 +5729,11 @@ void MainWindow::on_actionISCAT_triggered()
|
||||
|
||||
void MainWindow::on_actionMSK144_triggered()
|
||||
{
|
||||
if(m_nContest>=3) {
|
||||
MessageBox::warning_message (this, tr ("Improper mode"),
|
||||
"MSK144 not available if Fox, Hound, Field Day, or RTTY contest is selected.");
|
||||
return;
|
||||
}
|
||||
m_mode="MSK144";
|
||||
m_modeTx="MSK144";
|
||||
ui->actionMSK144->setChecked(true);
|
||||
|
Loading…
Reference in New Issue
Block a user