infoviewer: avoid display of radiotext icon in virtual zap mode

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-30 10:55:14 +01:00
parent d81844d8ee
commit f7b1c91039

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;