mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Protect against execution of on_pbTxMode() when not in "JT9+JT65" mode.
This commit is contained in:
parent
59c74905f3
commit
ef053e5a9f
@ -6482,15 +6482,17 @@ void MainWindow::on_readFreq_clicked()
|
|||||||
|
|
||||||
void MainWindow::on_pbTxMode_clicked()
|
void MainWindow::on_pbTxMode_clicked()
|
||||||
{
|
{
|
||||||
if(m_modeTx=="JT9") {
|
if(m_mode=="JT9+JT65") {
|
||||||
m_modeTx="JT65";
|
if(m_modeTx=="JT9") {
|
||||||
ui->pbTxMode->setText("Tx JT65 #");
|
m_modeTx="JT65";
|
||||||
} else {
|
ui->pbTxMode->setText("Tx JT65 #");
|
||||||
m_modeTx="JT9";
|
} else {
|
||||||
ui->pbTxMode->setText("Tx JT9 @");
|
m_modeTx="JT9";
|
||||||
|
ui->pbTxMode->setText("Tx JT9 @");
|
||||||
|
}
|
||||||
|
m_wideGraph->setModeTx(m_modeTx);
|
||||||
|
statusChanged();
|
||||||
}
|
}
|
||||||
m_wideGraph->setModeTx(m_modeTx);
|
|
||||||
statusChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::setXIT(int n, Frequency base)
|
void MainWindow::setXIT(int n, Frequency base)
|
||||||
|
Loading…
Reference in New Issue
Block a user