Merge branch 'hotfix-2.0.0-rc4' of bitbucket.org:k1jt/wsjtx into hotfix-2.0.0-rc4

This commit is contained in:
Bill Somerville 2018-11-09 18:55:26 +00:00
commit a3346225e3

View File

@ -2933,6 +2933,7 @@ void MainWindow::readFromStdout() //readFromStdout
{
while(proc_jt9.canReadLine()) {
QByteArray t=proc_jt9.readLine();
if(m_mode=="JT65") t=t.left(43) + " " + t.mid(43,-1); //Pad 22-char msg to 37 chars
// qint64 ms=QDateTime::currentMSecsSinceEpoch() - m_msec0;
bool bAvgMsg=false;
int navg=0;
@ -4273,7 +4274,8 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
bool is_73 = message_words.filter (QRegularExpression {"^(73|RR73)$"}).size ();
if (!is_73 and !message.isStandardMessage() and !message.string().contains("<")) {
qDebug () << "Not processing message - hiscall:" << hiscall << "hisgrid:" << hisgrid;
qDebug () << "Not processing message - hiscall:" << hiscall << "hisgrid:" << hisgrid
<< message.string() << message.isStandardMessage();
return;
}
@ -4382,10 +4384,15 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
if(SpecOp::NA_VHF==m_config.special_op_id()){
gen_msg=setTxMsg(3);
m_QSOProgress=ROGER_REPORT;
} else {
if(m_mode=="JT65" and message_words.size()>4 and message_words.at(4)=="OOO") {
gen_msg=setTxMsg(3);
m_QSOProgress=ROGER_REPORT;
} else {
gen_msg=setTxMsg(2);
m_QSOProgress=REPORT;
}
}
} else if(w34.contains(grid_regexp) and SpecOp::EU_VHF==m_config.special_op_id()) {
if(nrpt==0) {
gen_msg=setTxMsg(2);
@ -5755,6 +5762,10 @@ void MainWindow::on_actionJT65_triggered()
displayWidgets(nWidgets("111010000000111000010000000000001"));
}
fast_config(false);
if(ui->cbShMsgs->isChecked()) {
ui->cbAutoSeq->setChecked(false);
ui->cbAutoSeq->setVisible(false);
}
statusChanged();
}
@ -7058,6 +7069,10 @@ void MainWindow::on_cbShMsgs_toggled(bool b)
m_bShMsgs=b;
if(b) ui->cbSWL->setChecked(false);
if(m_bShMsgs and (m_mode=="MSK144")) ui->rptSpinBox->setValue(1);
if(m_mode=="JT65") {
ui->cbAutoSeq->setVisible(!b);
if(b) ui->cbAutoSeq->setChecked(false);
}
int it0=itone[0];
int ntx=m_ntx;
m_lastCallsign.clear (); // ensure Tx5 gets updated