mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
In FT4 mode, let F11 and F12 move Tx freq by +/- 120 Hz.
This commit is contained in:
parent
974cf50e16
commit
e38091705b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user