From 718ab3c10238548b0daf968ee35867d5008b1a4a Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 9 Feb 2009 13:30:05 +0100 Subject: [PATCH 1/1] fix 'play' doesn't disappear when config.usage.show_infobar_on_skip is set --- lib/python/Screens/InfoBarGenerics.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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): -- 2.30.2