From: Felix Domke Date: Mon, 9 Feb 2009 12:30:05 +0000 (+0100) Subject: fix 'play' doesn't disappear when config.usage.show_infobar_on_skip is set X-Git-Tag: 2.6.0~464 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/718ab3c10238548b0daf968ee35867d5008b1a4a fix 'play' doesn't disappear when config.usage.show_infobar_on_skip is set --- diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index d0aa44b8..9e0e50af 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1024,7 +1024,13 @@ class InfoBarPVRState: def __playStateChanged(self, state): playstateString = state[3] self.pvrStateDialog["state"].setText(playstateString) - self._mayShow() + + # if we return into "PLAY" state, ensure that the dialog gets hidden if there will be no infobar displayed + if not config.usage.show_infobar_on_skip.value and self.seekstate == self.SEEK_STATE_PLAY: + self.pvrStateDialog.hide() + else: + self._mayShow() + class InfoBarTimeshiftState(InfoBarPVRState): def __init__(self):