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:
Joe Taylor 2017-07-06 20:28:12 +00:00
parent 1c2695332a
commit 6a9ee81eec
1 changed files with 1 additions and 1 deletions

View File

@ -1758,7 +1758,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
case Qt::Key_Minus:
if(e->modifiers() & Qt::ControlModifier) {
int f=ui->TxFreqSpinBox->value()/50;
ui->TxFreqSpinBox->setValue(50*(f-1));
ui->TxFreqSpinBox->setValue(50*f);
return;
}
break;