For now, disable use of "TU;" messages and don't call CQ automatically.

This commit is contained in:
Joe Taylor 2018-11-05 14:33:26 -05:00
parent 07f6d9d1ee
commit fd86194d07

View File

@ -3642,6 +3642,7 @@ void MainWindow::guiUpdate()
bool b=(m_mode=="FT8") and ui->cbAutoSeq->isChecked(); bool b=(m_mode=="FT8") and ui->cbAutoSeq->isChecked();
if(is_73 and (m_config.disable_TX_on_73() or b)) { if(is_73 and (m_config.disable_TX_on_73() or b)) {
m_nextCall=""; //### Temporary: disable use of "TU;" messages;
if(m_nextCall!="") { if(m_nextCall!="") {
useNextCall(); useNextCall();
} else { } else {
@ -4147,6 +4148,10 @@ void MainWindow::doubleClickOnCall2(Qt::KeyboardModifiers modifiers)
void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers) void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
{ {
if(!(modifiers & Qt::AltModifier) and m_transmitting) {
// qDebug() << "aa" << "Double-click ignored";
return;
}
QTextCursor cursor; QTextCursor cursor;
if(m_mode=="ISCAT") { if(m_mode=="ISCAT") {
MessageBox::information_message (this, MessageBox::information_message (this,
@ -4159,6 +4164,7 @@ void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
} }
if(modifiers==(Qt::ShiftModifier + Qt::ControlModifier + Qt::AltModifier)) { if(modifiers==(Qt::ShiftModifier + Qt::ControlModifier + Qt::AltModifier)) {
//### What was the purpose of this ??? ###
cursor.setPosition(0); cursor.setPosition(0);
} else { } else {
cursor.setPosition(cursor.selectionStart()); cursor.setPosition(cursor.selectionStart());
@ -4392,6 +4398,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
m_gen_message_is_cq = false; m_gen_message_is_cq = false;
} else { } else {
m_bTUmsg=false; m_bTUmsg=false;
m_nextCall=""; //### Temporary: disable use of "TU;" message
if(SpecOp::RTTY == m_config.special_op_id() and m_nextCall!="") { if(SpecOp::RTTY == m_config.special_op_id() and m_nextCall!="") {
// We're in RTTY contest and have "nextCall" queued up: send a "TU; ..." message // We're in RTTY contest and have "nextCall" queued up: send a "TU; ..." message
on_logQSOButton_clicked(); on_logQSOButton_clicked();
@ -4401,7 +4408,8 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
ui->tx3->setText(t); ui->tx3->setText(t);
m_bTUmsg=true; m_bTUmsg=true;
} else { } else {
if(SpecOp::RTTY == m_config.special_op_id()) { // if(SpecOp::RTTY == m_config.special_op_id()) {
if(false) {
on_logQSOButton_clicked(); on_logQSOButton_clicked();
m_ntx=6; m_ntx=6;
ui->txrb6->setChecked(true); ui->txrb6->setChecked(true);
@ -4614,6 +4622,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
ui->rptSpinBox->setValue(n); ui->rptSpinBox->setValue(n);
// Don't genStdMsgs if we're already sending 73, or a "TU; " msg is queued. // Don't genStdMsgs if we're already sending 73, or a "TU; " msg is queued.
m_bTUmsg=false; //### Temporary: disable use of "TU;" messages
if (!m_nTx73 and !m_bTUmsg) { if (!m_nTx73 and !m_bTUmsg) {
genStdMsgs(rpt); genStdMsgs(rpt);
if (gen_msg) { if (gen_msg) {