do nothing when green button is pressed in a record, to be consistent with UI
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 11 Mar 2009 07:05:18 +0000 (08:05 +0100)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 11 Mar 2009 07:05:18 +0000 (08:05 +0100)
lib/python/Screens/EventView.py

index c55d95275b05b4c127b678a6a7dc770d22c8ef20..c1ffb5851d3e3e34c064076aabdddc90b47480ef 100644 (file)
@@ -71,6 +71,8 @@ class EventViewBase:
                self.key_green_choice = self.ADD_TIMER
        
        def timerAdd(self):
+               if self.isRecording:
+                       return
                event = self.event
                serviceref = self.currentService
                if event is None: