From d9c2a1182111d20f8084def9816055267d8ccdc0 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 20 Jul 2020 11:48:09 -0400 Subject: [PATCH] Fix double-clicking on a decode line containing fSpread. --- widgets/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 9c1825f27..4a7ef6f42 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4514,7 +4514,9 @@ void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers) } return; } - DecodedText message {cursor.block().text().trimmed().left(61).remove("TU; ")}; + QString t{cursor.block().text().trimmed().left(61).remove("TU; ")}; + t=t.left(46)+" "+t.mid(51); + DecodedText message{t.trimmed()}; m_bDoubleClicked = true; processMessage (message, modifiers); }