infoviewer: avoid display of radiotext icon in virtual zap mode

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: aca5157707
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-30 (Thu, 30 Nov 2017)

Origin message was:
------------------
- infoviewer: avoid display of radiotext icon in virtual zap mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-30 10:55:14 +01:00
committed by Thilo Graf
parent 462457cba5
commit 78c2e93573

View File

@@ -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;