X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d3d307bdd570c94556dffb9fb74a10621e6a2d2d..67fb26cb89fc63d3a151756d87facc62c90b0e37:/lib/python/Screens/Satconfig.py diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index a9bad427..22b80f62 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -356,6 +356,16 @@ class NimSetup(Screen, ConfigListScreen): for x in self["config"].list: x[1].save() + def cancelConfirm(self, result): + if not result: + return + + for x in self["config"].list: + x[1].cancel() + # we need to call saveAll to reset the connectedTo choices + self.saveAll() + self.close() + class NimSelection(Screen): def __init__(self, session): Screen.__init__(self, session)