Repair a defect where Auto Seq failed for messages with apriori code.

This commit is contained in:
Uwe Risse 2022-01-26 18:29:08 +01:00
parent 1ff74b2cd5
commit 5118e64fde

View File

@ -8004,6 +8004,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout
} else { } else {
int n=t.length(); int n=t.length();
t=t.left(85); // truncate any apriori code
t=t.mid(0,n-2) + " "; t=t.mid(0,n-2) + " ";
t.remove(QRegExp("\\s+$")); t.remove(QRegExp("\\s+$"));
QStringList rxFields = t.split(QRegExp("\\s+")); QStringList rxFields = t.split(QRegExp("\\s+"));