mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 12:52:28 -04:00
F10 calls readWidebandDecodes(). Clean up some use of ActiveStations window.
This commit is contained in:
parent
0a243544d4
commit
04b49c1038
@ -2275,6 +2275,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
case Qt::Key_F10:
|
||||||
|
readWidebandDecodes();
|
||||||
|
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)) {
|
||||||
m_bandEdited = true;
|
m_bandEdited = true;
|
||||||
@ -3763,7 +3766,7 @@ void MainWindow::callSandP2(int n)
|
|||||||
{
|
{
|
||||||
if(m_mode!="Q65" and m_ready2call[n]=="") return;
|
if(m_mode!="Q65" and m_ready2call[n]=="") return;
|
||||||
QStringList w=m_ready2call[n].split(' ', SkipEmptyParts);
|
QStringList w=m_ready2call[n].split(' ', SkipEmptyParts);
|
||||||
if(m_mode=="Q65" and m_specOp==SpecOp::Q65_PILEUP) {
|
if(m_mode=="Q65" and m_specOp==SpecOp::Q65_PILEUP and n <= m_callers->size()) {
|
||||||
// This is the mode for 6m EME DXpeditions
|
// This is the mode for 6m EME DXpeditions
|
||||||
w=m_callers[n].split(' ', SkipEmptyParts);
|
w=m_callers[n].split(' ', SkipEmptyParts);
|
||||||
m_deCall=w[2];
|
m_deCall=w[2];
|
||||||
@ -3777,7 +3780,6 @@ void MainWindow::callSandP2(int n)
|
|||||||
setTxMsg(3);
|
setTxMsg(3);
|
||||||
if (!ui->autoButton->isChecked()) ui->autoButton->click(); // Enable Tx
|
if (!ui->autoButton->isChecked()) ui->autoButton->click(); // Enable Tx
|
||||||
if(m_transmitting) m_restart=true;
|
if(m_transmitting) m_restart=true;
|
||||||
// qDebug() << "aa" << int(m_specOp) << n << m_callers[n];
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8005,7 +8007,7 @@ void MainWindow::handle_transceiver_update (Transceiver::TransceiverState const&
|
|||||||
|
|
||||||
if(m_lastDialFreq != m_freqNominal and m_ActiveStationsWidget != NULL) {
|
if(m_lastDialFreq != m_freqNominal and m_ActiveStationsWidget != NULL) {
|
||||||
m_recentCall.clear();
|
m_recentCall.clear();
|
||||||
m_ActiveStationsWidget->erase();
|
if(m_mode!="Q65") m_ActiveStationsWidget->erase();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_lastDialFreq = m_freqNominal;
|
m_lastDialFreq = m_freqNominal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user