From f7b1c91039eb60f51809a1534ebb5d44f68aa5ac Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 30 Nov 2017 10:55:14 +0100 Subject: [PATCH] infoviewer: avoid display of radiotext icon in virtual zap mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a38e827010e11275d368954b6493f791b0ab318a Author: vanhofen Date: 2017-11-30 (Thu, 30 Nov 2017) Origin message was: ------------------ - infoviewer: avoid display of radiotext icon in virtual zap mode ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index a29703aa2..f03ab8a6f 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -924,7 +924,7 @@ void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap { if ((g_settings.radiotext_enable) && (!recordModeActive) && (!calledFromNumZap)) showRadiotext(); - else + else if (showButtonBar) infoViewerBB->showIcon_RadioText(false); } @@ -1398,7 +1398,8 @@ void CInfoViewer::showRadiotext() if (g_Radiotext == NULL) return; - infoViewerBB->showIcon_RadioText(g_Radiotext->haveRadiotext()); + if (showButtonBar) + infoViewerBB->showIcon_RadioText(g_Radiotext->haveRadiotext()); char stext[3][100]; bool RTisUTF8 = false;