From 7d094b36bff582559879e1c5fd1d518cacb75af7 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sun, 28 Jun 2020 16:26:22 -0400 Subject: [PATCH] Fix the "double-click on AP decode" crash. --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 3ac19c349..f54355842 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -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); }