Zero the "nDecodes" label if there were no decodes in a sequence.

This commit is contained in:
Joe Taylor 2020-06-01 11:48:35 -04:00
parent 7dac838bf0
commit e97164719d
1 changed files with 1 additions and 0 deletions

View File

@ -3137,6 +3137,7 @@ void MainWindow::readFromStdout() //readFromStdout
if(line_read.indexOf("<DecodeFinished>") >= 0) {
m_bDecoded = line_read.mid(20).trimmed().toInt() > 0;
if(m_nDecodes==0) ndecodes_label.setText("0");
decodeDone ();
return;
} else {