]> git.saurik.com Git - cydia.git/commitdiff
Do not show ProgressController Close if running.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Feb 2011 11:27:52 +0000 (03:27 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Feb 2011 11:27:52 +0000 (03:27 -0800)
MobileCydia.mm

index 8c88f5c00a27584af55c97004806cdd7a0b86034..b6a51d54c1b40ce5a788e292220762cc02577d98 100644 (file)
@@ -4996,7 +4996,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 
 - (UIBarButtonItem *) rightButton {
-    return [[[UIBarButtonItem alloc]
+    return [[progress_ running] boolValue] ? nil : [[[UIBarButtonItem alloc]
         initWithTitle:UCLocalize("CLOSE")
         style:UIBarButtonItemStylePlain
         target:self