Test the ActiveStations pointer before using it. Add some Tool Tips.

This commit is contained in:
Joe Taylor
2022-03-23 15:39:32 -04:00
parent 4957face2f
commit 1cee98162a
2 changed files with 60 additions and 41 deletions
+4 -1
View File
@@ -3520,8 +3520,11 @@ void MainWindow::activeWorked(QString call, QString band)
void MainWindow::readFromStdout() //readFromStdout
{
bool bDisplayPoints = (m_mode=="FT4" or m_mode=="FT8") and
bool bDisplayPoints = false;
if(m_ActiveStationsWidget!=NULL) {
bDisplayPoints=(m_mode=="FT4" or m_mode=="FT8") and
(m_config.special_op_id()==SpecOp::ARRL_DIGI or m_ActiveStationsWidget->isVisible());
}
while(proc_jt9.canReadLine()) {
auto line_read = proc_jt9.readLine ();
if (auto p = std::strpbrk (line_read.constData (), "\n\r")) {