From 5b22280631d7adae582ec76e557a00ff52a43e47 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 645d7c810..5569385c0 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -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); }