Allow MAP65 "Best-fit Delta phi" solution to be displayed to the user.

This commit is contained in:
Joe Taylor 2021-12-27 12:24:42 -05:00
parent 69f9ec89d4
commit d99c6adf4d

View File

@ -1410,7 +1410,7 @@ void MainWindow::readFromStdout() //readFromStdout
#ifdef WIN32 #ifdef WIN32
m=3; m=3;
#endif #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(); n=ui->decodedTextBrowser->verticalScrollBar()->maximum();
ui->decodedTextBrowser->verticalScrollBar()->setValue(n); ui->decodedTextBrowser->verticalScrollBar()->setValue(n);
m_messagesText=""; m_messagesText="";
@ -1439,7 +1439,6 @@ void MainWindow::readFromStdout() //readFromStdout
int n=t.size(); int n=t.size();
qDebug() << t.mid(1,n-3).trimmed(); qDebug() << t.mid(1,n-3).trimmed();
} }
} }
} }