mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 07:39:43 -05:00
Correct a flaw in recently modified actions for key F6.
This commit is contained in:
parent
655e0029fd
commit
f7b0e24e70
@ -1966,16 +1966,13 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
if(bAltF1F6) {
|
if(bAltF1F6) {
|
||||||
bool b=ui->cbFirst->isChecked();
|
bool b=ui->cbFirst->isChecked();
|
||||||
ui->cbFirst->setChecked(!b);
|
ui->cbFirst->setChecked(!b);
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if(e->modifiers() & Qt::ShiftModifier) {
|
||||||
on_actionDecode_remaining_files_in_directory_triggered();
|
on_actionDecode_remaining_files_in_directory_triggered();
|
||||||
} else {
|
} else {
|
||||||
on_actionOpen_triggered();
|
on_actionOpen_next_in_directory_triggered();
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
on_actionOpen_next_in_directory_triggered();
|
|
||||||
return;
|
return;
|
||||||
case Qt::Key_F11:
|
case Qt::Key_F11:
|
||||||
if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ShiftModifier)) {
|
if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ShiftModifier)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user