mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 21:02:26 -04:00
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
This commit is contained in:
parent
33af88a41b
commit
a125657803
@ -1392,6 +1392,7 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog
|
|||||||
// things that might change that we need know about
|
// things that might change that we need know about
|
||||||
auto callsign = m_config.my_callsign ();
|
auto callsign = m_config.my_callsign ();
|
||||||
bool bvhf0=m_config.enable_VHF_features();
|
bool bvhf0=m_config.enable_VHF_features();
|
||||||
|
bool bcontest0=m_config.contestMode();
|
||||||
if (QDialog::Accepted == m_config.exec ()) {
|
if (QDialog::Accepted == m_config.exec ()) {
|
||||||
if (m_config.my_callsign () != callsign) {
|
if (m_config.my_callsign () != callsign) {
|
||||||
m_baseCall = Radio::base_callsign (m_config.my_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=="QRA64") on_actionQRA64_triggered();
|
||||||
if(m_mode=="ISCAT") on_actionISCAT_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=="WSPR") on_actionWSPR_triggered();
|
||||||
if(m_mode=="Echo") on_actionEcho_triggered();
|
if(m_mode=="Echo") on_actionEcho_triggered();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user