mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-30 05:12:26 -04:00
Don't let RETURN initiate TXing when in Hound mode.
This commit is contained in:
parent
149c177d5f
commit
98ee149be6
@ -2254,18 +2254,18 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
}
|
}
|
||||||
QMainWindow::keyPressEvent (e);
|
QMainWindow::keyPressEvent (e);
|
||||||
}
|
}
|
||||||
|
// Why shall RETURN switch Tx on when in Hound mode? Makes little sense and confuses many OMs!
|
||||||
if(SpecOp::HOUND == m_specOp) {
|
// if(SpecOp::HOUND == m_specOp) {
|
||||||
switch (e->key()) {
|
// switch (e->key()) {
|
||||||
case Qt::Key_Return:
|
// case Qt::Key_Return:
|
||||||
auto_tx_mode(true);
|
// auto_tx_mode(true);
|
||||||
return;
|
// return;
|
||||||
case Qt::Key_Enter:
|
// case Qt::Key_Enter:
|
||||||
auto_tx_mode(true);
|
// auto_tx_mode(true);
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
QMainWindow::keyPressEvent (e);
|
// QMainWindow::keyPressEvent (e);
|
||||||
}
|
// }
|
||||||
|
|
||||||
int n;
|
int n;
|
||||||
bool bAltF1F6=m_config.alternate_bindings();
|
bool bAltF1F6=m_config.alternate_bindings();
|
||||||
@ -8087,8 +8087,8 @@ void MainWindow::on_bandComboBox_activated (int index)
|
|||||||
m_bandEdited = true;
|
m_bandEdited = true;
|
||||||
band_changed (frequency);
|
band_changed (frequency);
|
||||||
m_wideGraph->setRxBand (m_config.bands ()->find (frequency));
|
m_wideGraph->setRxBand (m_config.bands ()->find (frequency));
|
||||||
m_specOp=m_config.special_op_id();
|
// m_specOp=m_config.special_op_id();
|
||||||
if (m_specOp==SpecOp::HOUND) auto_tx_mode(false);
|
// if (m_specOp==SpecOp::HOUND) auto_tx_mode(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::band_changed (Frequency f)
|
void MainWindow::band_changed (Frequency f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user