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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-30 10:55:14 +01:00
committed by Thilo Graf
parent 38e76f6a3f
commit aca5157707

View File

@@ -884,7 +884,7 @@ void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap
{ {
if ((g_settings.radiotext_enable) && (!recordModeActive) && (!calledFromNumZap)) if ((g_settings.radiotext_enable) && (!recordModeActive) && (!calledFromNumZap))
showRadiotext(); showRadiotext();
else else if (showButtonBar)
infoViewerBB->showIcon_RadioText(false); infoViewerBB->showIcon_RadioText(false);
} }
@@ -1319,6 +1319,7 @@ void CInfoViewer::showRadiotext()
if (g_Radiotext == NULL) if (g_Radiotext == NULL)
return; return;
if (showButtonBar)
infoViewerBB->showIcon_RadioText(g_Radiotext->haveRadiotext()); infoViewerBB->showIcon_RadioText(g_Radiotext->haveRadiotext());
char stext[3][100]; char stext[3][100];