From edf39d60b87e96fc911093a9edf8bb4f120fafbb Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 19 Jan 2017 17:03:00 +0000 Subject: [PATCH] Double-click on call now sets proper Tx mode. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7541 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 +++- mainwindow.ui | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4dce5ffb4..1e49ef271 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -483,7 +483,7 @@ void MainWindow::readSettings() if(m_modeQRA64==4) ui->actionQRA64D->setChecked(true); if(m_modeQRA64==5) ui->actionQRA64E->setChecked(true); if(m_modeTx=="JT65") ui->pbTxMode->setText("Tx JT65 #"); - if(m_modeTx=="QRA64") ui->pbTxMode->setText("Tx QRA64 #"); + if(m_modeTx=="QRA64") ui->pbTxMode->setText("Tx QRA64 $"); ui->actionNone->setChecked(settings.value("SaveNone",true).toBool()); ui->actionSave_all->setChecked(settings.value("SaveAll",false).toBool()); @@ -1730,6 +1730,8 @@ void MainWindow::doubleClickOnCall(QString hiscall, bool ctrl) int n = 60*t2.mid(14,2).toInt() + t2.mid(16,2).toInt(); m_txFirst = ((n%2) == 1); ui->txFirstCheckBox->setChecked(m_txFirst); + if((t2.indexOf("#")>0) and m_modeTx!="JT65") on_pbTxMode_clicked(); + if((t2.indexOf("$")>0) and m_modeTx!="QRA64") on_pbTxMode_clicked(); QString rpt=""; if(ctrl or m_modeTx=="QRA64") rpt=t2.mid(25,3); lookup(); diff --git a/mainwindow.ui b/mainwindow.ui index 3ce9394f0..f710ab59a 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -332,6 +332,9 @@ p, li { white-space: pre-wrap; } + + Qt::AlignCenter + @@ -357,6 +360,9 @@ p, li { white-space: pre-wrap; } + + Qt::AlignCenter +