mirror of https://github.com/saitohirga/WSJT-X.git
Correct the logic for hotkey CTRL+Key_Minus.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7798 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
1c2695332a
commit
6a9ee81eec
|
@ -1758,7 +1758,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
||||||
case Qt::Key_Minus:
|
case Qt::Key_Minus:
|
||||||
if(e->modifiers() & Qt::ControlModifier) {
|
if(e->modifiers() & Qt::ControlModifier) {
|
||||||
int f=ui->TxFreqSpinBox->value()/50;
|
int f=ui->TxFreqSpinBox->value()/50;
|
||||||
ui->TxFreqSpinBox->setValue(50*(f-1));
|
ui->TxFreqSpinBox->setValue(50*f);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue