From d99c6adf4dba83cb9c1d3239fd941653b28b4869 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 27 Dec 2021 12:24:42 -0500 Subject: [PATCH] Allow MAP65 "Best-fit Delta phi" solution to be displayed to the user. --- map65/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 5814dca2e..2e7bfa756 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -1410,7 +1410,7 @@ void MainWindow::readFromStdout() //readFromStdout #ifdef WIN32 m=3; #endif - if(n>=30) ui->decodedTextBrowser->append(t.mid(1,n-m)); + if(n>=30 or t.indexOf("Best-fit")>=0) ui->decodedTextBrowser->append(t.mid(1,n-m)); n=ui->decodedTextBrowser->verticalScrollBar()->maximum(); ui->decodedTextBrowser->verticalScrollBar()->setValue(n); m_messagesText=""; @@ -1439,7 +1439,6 @@ void MainWindow::readFromStdout() //readFromStdout int n=t.size(); qDebug() << t.mid(1,n-3).trimmed(); } - } }