From: Stefan Pluecken Date: Tue, 19 Dec 2006 07:38:28 +0000 (+0000) Subject: don't allow exiting the ipkg screen while ipkg is running X-Git-Tag: 2.6.0~2569 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/ad4f6abca583cdb5daaf066c67da436f0d8d8761 don't allow exiting the ipkg screen while ipkg is running --- 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()