diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-03-05 00:12:07 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-03-05 00:12:07 +0100 |
| commit | 2f95f50608f64e18a0513ac2e1b713a603db0498 (patch) | |
| tree | 8abf2ab9d5ab247462a3743c4ef7626bc7013d5b /lib/python/Screens | |
| parent | 7d31919c4447cbe8220b511d15659e164a4bc55b (diff) | |
| parent | 8632fc87741200695d2726b689853b6b550a4b06 (diff) | |
| download | enigma2-2f95f50608f64e18a0513ac2e1b713a603db0498.tar.gz enigma2-2f95f50608f64e18a0513ac2e1b713a603db0498.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 20a239a2..64ed35f7 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1525,7 +1525,7 @@ class InfoBarInstantRecord: print "after:\n", self.recording def setEndtime(self, entry): - if entry is not None: + if entry is not None and entry >= 0: self.selectedEntry = entry self.endtime=ConfigClock(default = self.recording[self.selectedEntry].end) dlg = self.session.openWithCallback(self.TimeDateInputClosed, TimeDateInput, self.endtime) @@ -1542,7 +1542,7 @@ class InfoBarInstantRecord: self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry]) def changeDuration(self, entry): - if entry is not None: + if entry is not None and entry >= 0: self.selectedEntry = entry self.session.openWithCallback(self.inputCallback, InputBox, title=_("How many minutes do you want to record?"), text="5", maxSize=False, type=Input.NUMBER) |
