EventView: fix edit timer if not change setup (key exit)
authorDima73 <Dima-73@inbox.lv>
Mon, 7 Dec 2015 19:35:40 +0000 (21:35 +0200)
committerDima73 <Dima-73@inbox.lv>
Mon, 7 Dec 2015 19:35:40 +0000 (21:35 +0200)
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"))