mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-05 14:47:54 -04:00
Set correct Q65 submode (ABCDE) for a call selected from Active Stations window.
This commit is contained in:
parent
5d94775c7d
commit
adc457214f
@ -3923,6 +3923,11 @@ void MainWindow::callSandP2(int n)
|
|||||||
} else {
|
} else {
|
||||||
ui->sbTR->setValue(60);
|
ui->sbTR->setValue(60);
|
||||||
}
|
}
|
||||||
|
if(w[3].right(1)=="A") ui->sbSubmode->setValue(0);
|
||||||
|
if(w[3].right(1)=="B") ui->sbSubmode->setValue(1);
|
||||||
|
if(w[3].right(1)=="C") ui->sbSubmode->setValue(2);
|
||||||
|
if(w[3].right(1)=="D") ui->sbSubmode->setValue(3);
|
||||||
|
if(w[3].right(1)=="E") ui->sbSubmode->setValue(4);
|
||||||
|
|
||||||
m_bDoubleClicked=true; //### needed?
|
m_bDoubleClicked=true; //### needed?
|
||||||
ui->dxCallEntry->setText(m_deCall);
|
ui->dxCallEntry->setText(m_deCall);
|
||||||
@ -9650,6 +9655,8 @@ void MainWindow::readWidebandDecodes()
|
|||||||
m_EMECall[dxcall].nsnr=nsnr;
|
m_EMECall[dxcall].nsnr=nsnr;
|
||||||
m_EMECall[dxcall].t=3600*nhr + 60*nmin + nsec;
|
m_EMECall[dxcall].t=3600*nhr + 60*nmin + nsec;
|
||||||
m_EMECall[dxcall].submode=submode;
|
m_EMECall[dxcall].submode=submode;
|
||||||
|
//### Make sure WSJT-X is set to a Q65 submode consistent with the executing QMAP.
|
||||||
|
// qDebug() << "aa" << submode << m_mode << m_nSubMode << bWrongMode;
|
||||||
if(w3.contains(grid_regexp)) m_EMECall[dxcall].grid4=w3;
|
if(w3.contains(grid_regexp)) m_EMECall[dxcall].grid4=w3;
|
||||||
bool bCQ=line.contains(" CQ ");
|
bool bCQ=line.contains(" CQ ");
|
||||||
// m_EMECall[dxcall].ready2call=(bCQ or line.contains(" 73") or line.contains(" RR73"));
|
// m_EMECall[dxcall].ready2call=(bCQ or line.contains(" 73") or line.contains(" RR73"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user