aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-12-19 07:38:28 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-12-19 07:38:28 +0000
commitad4f6abca583cdb5daaf066c67da436f0d8d8761 (patch)
tree28b1caa7cf6f4f8e30f554a717b131ab1016df83 /lib/python/Screens
parent8d1bd687bb25d258942a1b34d15536e213a130a5 (diff)
downloadenigma2-ad4f6abca583cdb5daaf066c67da436f0d8d8761.tar.gz
enigma2-ad4f6abca583cdb5daaf066c67da436f0d8d8761.zip
don't allow exiting the ipkg screen while ipkg is running
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/Ipkg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/Ipkg.py b/lib/python/Screens/Ipkg.py
index 95bf4f15..af80e000 100644
--- a/lib/python/Screens/Ipkg.py
+++ b/lib/python/Screens/Ipkg.py
@@ -96,4 +96,5 @@ class Ipkg(Screen):
self.runNextCmd()
def exit(self):
- self.close()
+ if not self.ipkg.isRunning():
+ self.close()