mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 16:31:17 -05:00
Don't allow Fox of Hound to use Ctrl+E or Shift+E to change Tx sequence.
This commit is contained in:
parent
68d3cab1d7
commit
50ff8d3498
@ -1875,11 +1875,11 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case Qt::Key_E:
|
case Qt::Key_E:
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if((e->modifiers() & Qt::ShiftModifier) and m_nContest<FOX) {
|
||||||
ui->txFirstCheckBox->setChecked(false);
|
ui->txFirstCheckBox->setChecked(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (e->modifiers() & Qt::ControlModifier) {
|
else if((e->modifiers() & Qt::ControlModifier) and m_nContest<FOX) {
|
||||||
ui->txFirstCheckBox->setChecked(true);
|
ui->txFirstCheckBox->setChecked(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
14
mainwindow.h
14
mainwindow.h
@ -518,13 +518,13 @@ private:
|
|||||||
m_QSOProgress; //State machine counter
|
m_QSOProgress; //State machine counter
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
NONE,
|
NONE, // 0
|
||||||
NA_VHF,
|
NA_VHF, // 1
|
||||||
EU_VHF,
|
EU_VHF, // 2
|
||||||
FIELD_DAY,
|
FIELD_DAY, // 3
|
||||||
RTTY,
|
RTTY, // 4
|
||||||
FOX,
|
FOX, // 5
|
||||||
HOUND
|
HOUND // 6
|
||||||
} m_nContest; //Contest type
|
} m_nContest; //Contest type
|
||||||
|
|
||||||
enum {CALL, GRID, DXCC, MULT};
|
enum {CALL, GRID, DXCC, MULT};
|
||||||
|
Loading…
Reference in New Issue
Block a user