From d608e419532307d7aaabd3c4701903e397f3c081 Mon Sep 17 00:00:00 2001 From: jbleyel Date: Sat, 31 Aug 2024 18:59:38 +0200 Subject: [PATCH] [SkinSelection] * fix last commit --- lib/python/Screens/ChannelSelection.py | 5 +++-- lib/python/Screens/SkinSelection.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 6c0c353bec2..b399908f8ff 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -3456,9 +3456,10 @@ def __init__(self, session): self.onClose.append(self.clearSaveNotifiers) def onUpdateSettings(self): - self.updateSettings(self.session) + ChannelSelectionSetup.updateSettings(self.session) - def updateSettings(self, session): + @staticmethod + def updateSettings(session): styleChanged = False styleScreenChanged = config.channelSelection.screenStyle.isChanged() or config.channelSelection.widgetStyle.isChanged() if not styleScreenChanged: diff --git a/lib/python/Screens/SkinSelection.py b/lib/python/Screens/SkinSelection.py index 0d8758891f4..d9f9c328f61 100644 --- a/lib/python/Screens/SkinSelection.py +++ b/lib/python/Screens/SkinSelection.py @@ -98,8 +98,8 @@ def keySave(self): config.skin.display_skin.save() if config.channelSelection.screenStyle.isChanged() or config.channelSelection.widgetStyle.isChanged(): - from Screens.ChannelSelection.ChannelSelectionSetup import updateSettings - updateSettings(self.session) + from Screens.ChannelSelection import ChannelSelectionSetup + ChannelSelectionSetup.updateSettings(self.session) Setup.keySave(self)