Fix the failure to auto-sequence when a decode contains a low-confidence a-priori designator, such as "? a3".

This commit is contained in:
Steven Franke 2022-01-27 09:23:32 -06:00
parent 0c98c2d2ff
commit a9f895ca6b
1 changed files with 2 additions and 0 deletions

View File

@ -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');