Skip to content

Commit

Permalink
Ensure that changed values are saved before they disappear
Browse files Browse the repository at this point in the history
E.G. for languages when you disable more than one auto selected
language one of the languages was not anymore visible in the list and
therefore the value was stored, but not saved into the
/etc/enigma2/settings file. This change does ensure the value is saved.
  • Loading branch information
Littlesat committed May 13, 2024
1 parent b1ce32b commit ce97df0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/python/Screens/Setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def getIndexFromItem(self, item):

def changedEntry(self):
if isinstance(self["config"].getCurrent()[1], ConfigBoolean) or isinstance(self["config"].getCurrent()[1], ConfigSelection):
self.saveAll()
self.createSetupList()

def __onSelectionChanged(self):
Expand Down

0 comments on commit ce97df0

Please sign in to comment.