From 6a8f7cbd9173119261db2911ec06cb043d0b8706 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 7 Oct 2014 17:43:30 +0000 Subject: [PATCH] Correct the "Grid" message on Tab 2 for Type 1 compound callsigns. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4486 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 1c091a9cb..81423c798 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2621,6 +2621,10 @@ void MainWindow::on_pbAnswerCQ_clicked() { genStdMsgs(m_rpt); ui->genMsg->setText(ui->tx1->text()); + QString t=ui->tx2->text(); + int i0=t.indexOf("/"); + int i1=t.indexOf(" "); + if(i0>0 and i0genMsg->setText(t); m_ntx=7; ui->rbGenMsg->setChecked(true); if(m_transmitting) m_restart=true;