X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b56bcb6768ce0fdb7124e02d2fd6a531b4068505..e5a909e610fcd24a0bb6d7b1a586a14cd9767512:/lib/python/Screens/InfoBar.py diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 4a1f318a..41083777 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -8,7 +8,7 @@ from ServiceReference import ServiceReference from Components.Sources.Clock import Clock from Components.ActionMap import ActionMap, HelpableActionMap -from Components.config import currentConfigSelectionElement, config +from Components.config import config from Tools.Notifications import AddNotificationWithCallback @@ -69,7 +69,7 @@ class InfoBar(InfoBarShowHide, self.showTvChannelList(True) def showRadio(self): - if currentConfigSelectionElement(config.usage.e1like_radio_mode) == "yes": + if config.usage.e1like_radio_mode.value: self.showRadioChannelList(True) else: self.session.open(ChannelSelectionRadio)