From a9f895ca6bbb1fcf86b9919d1f0eadabd85e4818 Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Thu, 27 Jan 2022 09:23:32 -0600 Subject: [PATCH] Fix the failure to auto-sequence when a decode contains a low-confidence a-priori designator, such as "? a3". --- Decoder/decodedtext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Decoder/decodedtext.cpp b/Decoder/decodedtext.cpp index e65d34bd8..3c684f824 100644 --- a/Decoder/decodedtext.cpp +++ b/Decoder/decodedtext.cpp @@ -60,6 +60,8 @@ DecodedText::DecodedText (QString const& the_string) // qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp); if (message_.length() >= 1) { +// remove appended confidence (?) and ap designators before truncating the message + message_ = clean_string_.mid (column_qsoText + padding_).trimmed (); message0_ = message_.left(37); message_ = message_.left(37).remove (QRegularExpression {"[<>]"}); int i1 = message_.indexOf ('\r');