Fix the "double-click on AP decode" crash.

This commit is contained in:
Joe Taylor 2020-06-28 16:26:22 -04:00 committed by Bill Somerville
parent 37ab6eecd1
commit 7d094b36bf
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -4499,7 +4499,7 @@ void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
}
return;
}
DecodedText message {cursor.block().text().trimmed().remove("TU; ")};
DecodedText message {cursor.block().text().trimmed().left(61).remove("TU; ")};
m_bDoubleClicked = true;
processMessage (message, modifiers);
}