Skip to content

Commit

Permalink
[SkinSelection]
Browse files Browse the repository at this point in the history
* fix last commit
  • Loading branch information
jbleyel committed Aug 31, 2024
1 parent f648e63 commit d608e41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/python/Screens/ChannelSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions lib/python/Screens/SkinSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d608e41

Please sign in to comment.