mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
In FT4 mode, Shift+F11/F12 should move Tx freq by +/- 100 Hz.
This commit is contained in:
parent
637d4d0411
commit
d5cd9db696
@ -1986,7 +1986,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if(e->modifiers() & Qt::ShiftModifier) {
|
||||||
int offset=60;
|
int offset=60;
|
||||||
if(m_mode=="FT4") offset=120;
|
if(m_mode=="FT4") offset=100;
|
||||||
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-offset);
|
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-offset);
|
||||||
} else{
|
} else{
|
||||||
bumpFqso(n);
|
bumpFqso(n);
|
||||||
@ -2002,7 +2002,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if(e->modifiers() & Qt::ShiftModifier) {
|
||||||
int offset=60;
|
int offset=60;
|
||||||
if(m_mode=="FT4") offset=120;
|
if(m_mode=="FT4") offset=100;
|
||||||
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+offset);
|
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+offset);
|
||||||
} else {
|
} else {
|
||||||
bumpFqso(n);
|
bumpFqso(n);
|
||||||
|
Loading…
Reference in New Issue
Block a user