infoviewer: avoid display of radiotext icon in virtual zap mode

Origin commit data
------------------
Commit: a38e827010
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
This commit is contained in:
vanhofen
2017-11-30 10:55:14 +01:00
parent d68d51d2b2
commit 4e5efd627f

View File

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