SleepTimerEdit: Also save sleep_timer config
authorLittlesat <littlesat99@yahoo.com>
Sat, 16 Mar 2013 13:25:09 +0000 (14:25 +0100)
committerLittlesat <littlesat99@yahoo.com>
Sat, 16 Mar 2013 13:25:09 +0000 (14:25 +0100)
lib/python/Screens/SleepTimerEdit.py

index 3a10f7a..4f534e9 100644 (file)
@@ -49,6 +49,7 @@ class SleepTimerEdit(ConfigListScreen, Screen):
        def ok(self):
                config.usage.sleep_timer.save()
                config.usage.inactivity_timer.save()
+               config.usage.screen_saver.save()
                if self.getCurrentEntry() == _("Sleeptimer"):
                        sleepTimer = config.usage.sleep_timer.value
                        if sleepTimer == "event_shutdown":