From 47fdcb9c286481ab778b7514a370c0299ffcf7f6 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Mon, 13 May 2024 09:51:56 +0200 Subject: [PATCH] No blank line before messages that do not contain a timestamp (e.g. " verified"). --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 927d3d2eb..71b7e12fd 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4086,7 +4086,7 @@ void MainWindow::readFromStdout() //readFromStdout write_all("Rx",line_read.trimmed()); int ntime=6; if(m_TRperiod>=60) ntime=4; - if (line_read.left(ntime) != m_tBlankLine) { + if (line_read.left(ntime) != m_tBlankLine && QString::fromUtf8(line_read.constData()).left(4).contains(QRegularExpression {"\\d\\d\\d\\d"})) { ui->decodedTextBrowser->new_period (); if (m_config.insert_blank () && SpecOp::FOX != m_specOp) {