From ad4f6abca583cdb5daaf066c67da436f0d8d8761 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 19 Dec 2006 07:38:28 +0000 Subject: [PATCH] don't allow exiting the ipkg screen while ipkg is running --- lib/python/Screens/Ipkg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- 2.30.2