From 2655e41dd6a349c89d55b2a56d48743d749766ec Mon Sep 17 00:00:00 2001
From: Joe Taylor <joe@princeton.edu>
Date: Thu, 25 Jan 2024 11:28:17 -0500
Subject: [PATCH] Revert "Q65/JT65/JT4: Always display messages containing
 MyCall in the right window."

This reverts commit 226b17d0eaac79699b32ee1372dd767153cccedc.
---
 widgets/mainwindow.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index f817813d5..8c9a08876 100644
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -4265,8 +4265,7 @@ void MainWindow::readFromStdout()                             //readFromStdout
            !m_config.enable_VHF_features()) bDisplayRight=true;
       }
       if(m_mode=="Q65" and !bAvgMsg) bDisplayRight=false;
-      if((m_mode=="JT4" or m_mode=="Q65" or m_mode=="JT65") and
-         decodedtext.string().contains(m_baseCall)) bDisplayRight=true;
+      if((m_mode=="JT4" or m_mode=="Q65" or m_mode=="JT65") and decodedtext.string().contains(m_baseCall) && ui->actionInclude_averaging->isVisible() && !ui->actionInclude_averaging->isChecked()) bDisplayRight=true;
 
       if (bDisplayRight) {
         // This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg,