From aca5157707e67818b3b3b4965fd2724c5ecbf61f Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 30 Nov 2017 10:55:14 +0100 Subject: [PATCH] - infoviewer: avoid display of radiotext icon in virtual zap mode Signed-off-by: Thilo Graf --- 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 84842055d..9d2bb9642 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -884,7 +884,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); } @@ -1319,7 +1319,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;