X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=autotimer%2Fsrc%2FAutoTimerSettings.py;h=bbb6da568840fc6fa88dec5131eeccae7de74f2f;hb=6f13fe12ce79898166918177eb9826b7ff945d53;hp=95a82b8a85977f6d50befe0a109eb2908be2ed01;hpb=07aa7c4f56ead32aad37b8ff0cc82d91428d2db6;p=vuplus_dvbapp-plugin diff --git a/autotimer/src/AutoTimerSettings.py b/autotimer/src/AutoTimerSettings.py index 95a82b8..bbb6da5 100644 --- a/autotimer/src/AutoTimerSettings.py +++ b/autotimer/src/AutoTimerSettings.py @@ -48,6 +48,14 @@ class AutoTimerSettings(Screen, ConfigListScreen): session = session, on_change = self.changed ) + def selectionChanged(): + if self["config"].current: + self["config"].current[1].onDeselect(self.session) + self["config"].current = self["config"].getCurrent() + if self["config"].current: + self["config"].current[1].onSelect(self.session) + for x in self["config"].onSelectionChanged: + x() self["config"].onSelectionChanged.append(self.updateHelp) # Initialize widgets