In FT4 mode, let F11 and F12 move Tx freq by +/- 120 Hz.

This commit is contained in:
Joe Taylor 2019-03-22 10:57:09 -04:00
parent 974cf50e16
commit e38091705b

View File

@ -1993,7 +1993,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
n=11;
if(e->modifiers() & Qt::ControlModifier) n+=100;
if(e->modifiers() & Qt::ShiftModifier) {
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-60);
int offset=60;
if(m_mode=="FT4") offset=120;
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-offset);
} else{
bumpFqso(n);
}
@ -2007,7 +2009,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
n=12;
if(e->modifiers() & Qt::ControlModifier) n+=100;
if(e->modifiers() & Qt::ShiftModifier) {
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+60);
int offset=60;
if(m_mode=="FT4") offset=120;
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+offset);
} else {
bumpFqso(n);
}