mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Fix the failure to auto-sequence when a decode contains a low-confidence a-priori designator, such as "? a3".
This commit is contained in:
parent
1ca81f4610
commit
78cd7824ae
@ -60,6 +60,8 @@ DecodedText::DecodedText (QString const& the_string)
|
|||||||
// qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp);
|
// qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp);
|
||||||
if (message_.length() >= 1)
|
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);
|
message0_ = message_.left(37);
|
||||||
message_ = message_.left(37).remove (QRegularExpression {"[<>]"});
|
message_ = message_.left(37).remove (QRegularExpression {"[<>]"});
|
||||||
int i1 = message_.indexOf ('\r');
|
int i1 = message_.indexOf ('\r');
|
||||||
|
Loading…
Reference in New Issue
Block a user