From 4957face2fd5ad421641e71b9f076413868d7881 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 22 Mar 2022 14:35:42 -0400 Subject: [PATCH] Display points if in FT4 or FT8 and ActiveStations is visible. --- widgets/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 3b836cd25..61666fd6a 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3520,8 +3520,8 @@ void MainWindow::activeWorked(QString call, QString band) void MainWindow::readFromStdout() //readFromStdout { - QFile f(m_appDir + "/DisplayPoints"); - bool bDisplayPoints = f.exists() or m_config.special_op_id()==SpecOp::ARRL_DIGI; + bool 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")) {