From a1256578038d8d3120d799af2ee2bfbdb8219a06 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 17 Dec 2016 21:48:14 +0000 Subject: [PATCH] If status of Contest Mode is changed, re-generate the standard MSK144 messages. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7394 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 9b187542a..f14573915 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1392,6 +1392,7 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog // things that might change that we need know about auto callsign = m_config.my_callsign (); bool bvhf0=m_config.enable_VHF_features(); + bool bcontest0=m_config.contestMode(); if (QDialog::Accepted == m_config.exec ()) { if (m_config.my_callsign () != callsign) { m_baseCall = Radio::base_callsign (m_config.my_callsign ()); @@ -1434,7 +1435,10 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog } if(m_mode=="QRA64") on_actionQRA64_triggered(); if(m_mode=="ISCAT") on_actionISCAT_triggered(); - if(m_mode=="MSK144") on_actionMSK144_triggered(); + if(m_mode=="MSK144") { + on_actionMSK144_triggered(); + if(m_config.contestMode() != bcontest0) genStdMsgs(m_rpt); + } if(m_mode=="WSPR") on_actionWSPR_triggered(); if(m_mode=="Echo") on_actionEcho_triggered(); }