From e97164719d42cdf1b4e1ee8872ef2d43d0831ec5 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 1 Jun 2020 11:48:35 -0400 Subject: [PATCH] Zero the "nDecodes" label if there were no decodes in a sequence. --- widgets/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 923fd2725..4c104d69f 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3137,6 +3137,7 @@ void MainWindow::readFromStdout() //readFromStdout if(line_read.indexOf("") >= 0) { m_bDecoded = line_read.mid(20).trimmed().toInt() > 0; + if(m_nDecodes==0) ndecodes_label.setText("0"); decodeDone (); return; } else {