mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-19 01:55:21 -04:00
Merged from trunk:
------------------------------------------------------------------------ r7850 | k1jt | 2017-07-11 20:02:46 +0100 (Tue, 11 Jul 2017) | 1 line Shift+F11/F12 should not move Rx Freq. Fixed. ------------------------------------------------------------------------ git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.8@7901 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
5bc96dc638
commit
aa03aaa94a
@ -1710,20 +1710,22 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
||||
case Qt::Key_F11:
|
||||
n=11;
|
||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||
bumpFqso(n);
|
||||
if(e->modifiers() & Qt::ShiftModifier) {
|
||||
int f=ui->TxFreqSpinBox->value()/50;
|
||||
if((ui->TxFreqSpinBox->value() % 50) == 0) f=f-1;
|
||||
ui->TxFreqSpinBox->setValue(50*f);
|
||||
} else{
|
||||
bumpFqso(n);
|
||||
}
|
||||
return;
|
||||
case Qt::Key_F12:
|
||||
n=12;
|
||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||
bumpFqso(n);
|
||||
if(e->modifiers() & Qt::ShiftModifier) {
|
||||
int f=ui->TxFreqSpinBox->value()/50;
|
||||
ui->TxFreqSpinBox->setValue(50*(f+1));
|
||||
} else {
|
||||
bumpFqso(n);
|
||||
}
|
||||
return;
|
||||
case Qt::Key_E:
|
||||
|
Loading…
x
Reference in New Issue
Block a user