Revert "- infoviewer: allow to disable pip with RC_help if g_settings.show_ecm_pos is off (thx to mirz)"

This reverts commit 84387b2878
because many testing code was commited by mistake


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed28f6d569
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-13 (Sun, 13 Jan 2019)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-13 20:45:57 +01:00
parent 84387b2878
commit 9d7fbb44ac
8 changed files with 27 additions and 82 deletions

View File

@@ -1109,17 +1109,15 @@ void CInfoViewer::loop(bool show_dot)
showLivestreamInfo();
//NI
if (msg == CRCInput::RC_help && g_settings.show_ecm_pos)
{
if (g_settings.show_ecm)
{
g_settings.show_ecm = 0;
ecmInfoBox_hide();
}
else
{
g_settings.show_ecm = 1;
infoViewerBB->paint_ca_icons(0);
if (msg == CRCInput::RC_help) {
if (g_settings.show_ecm_pos) {
if (g_settings.show_ecm) {
g_settings.show_ecm = 0;
ecmInfoBox_hide();
} else {
g_settings.show_ecm = 1;
infoViewerBB->paint_ca_icons(0);
}
}
g_RCInput->clearRCMsg();
setInfobarTimeout();