From 3aca28355439dfb7c4d2445ebf57fa2eae895a9d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 13 Apr 2016 13:52:45 +0000 Subject: [PATCH] In single-decode mode, treat "Aggressive decoding level" as 1 if set to 0. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index af18eed98..e6041c79c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1835,7 +1835,10 @@ void MainWindow::decode() //decode() if(m_config.NDxG()) dec_data.params.nexp_decode += 4; if(m_config.NN()) dec_data.params.nexp_decode += 8; if(m_config.EMEonly()) dec_data.params.nexp_decode += 16; - if(m_config.single_decode()) dec_data.params.nexp_decode += 32; + if(m_config.single_decode()) { + dec_data.params.nexp_decode += 32; + if(dec_data.params.naggressive<1) dec_data.params.naggressive=1; + } strncpy(dec_data.params.datetime, m_dateTime.toLatin1(), 20); strncpy(dec_data.params.mycall, (m_config.my_callsign()+" ").toLatin1(),12);