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

This commit is contained in:
Joe Taylor 2020-06-28 16:26:22 -04:00
parent 2b85c70bbc
commit 5b22280631

View File

@ -4501,7 +4501,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);
}