From a3eaf1cf74c8465b4db373dbe15acfe75df01293 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 16 Oct 2018 17:47:38 -0400 Subject: [PATCH] Fixed BEACON ACK printing overwrite --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 8a84b68..510aab6 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8538,7 +8538,7 @@ void MainWindow::processCommandActivity() { // BEACON ACKs are the most likely source of items to be overwritten (multiple responses at once)... // so don't overwrite those (i.e., print each on a new line) - bool shouldOverwrite = (d.cmd != "BEACON ACK"); /* && isRecentOffset(d.freq);*/ + bool shouldOverwrite = (!d.cmd.contains("BEACON ACK")); /* && isRecentOffset(d.freq);*/ if(shouldOverwrite && ui->textEditRX->find(d.utcTimestamp.time().toString(), QTextDocument::FindBackward)){ // ... maybe we could delete the last line that had this message on this frequency...