Merge pull request #119 from Dima73/timer
authorlittlesat <littlesat99@yahoo.com>
Tue, 8 Dec 2015 18:28:35 +0000 (19:28 +0100)
committerlittlesat <littlesat99@yahoo.com>
Tue, 8 Dec 2015 18:28:35 +0000 (19:28 +0100)
EventView: fix edit timer if not change setup (key exit)

lib/python/Screens/EventView.py

index 2497e32..9406e97 100644 (file)
@@ -131,7 +131,7 @@ class EventViewBase:
                                        return
                                else:
                                        self.session.nav.RecordTimer.timeChanged(entry)
-               if answer is not None:
+               if answer is not None and len(answer) > 1:
                        entry = answer[1]
                        if not entry.disabled:
                                self["key_green"].setText(_("Change timer"))