]> git.saurik.com Git - cydia.git/commitdiff
Fixed slight issue with last commit: always saved section editing changes even if...
authorGrant Paul <chpwn@chpwn.com>
Sat, 4 Dec 2010 09:16:09 +0000 (01:16 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sat, 4 Dec 2010 09:16:09 +0000 (01:16 -0800)
MobileCydia.mm

index 5d3c6523b2ca6d30dd4f5530faa1e9322562e085..f73dce6458a6738bd6cec73e90da33a48b1d33a7 100644 (file)
@@ -7113,7 +7113,7 @@ freeing the view controllers on tab change */
 
 - (void) viewWillDisappear:(BOOL)animated {
     [super viewWillDisappear:animated];
-    [self setEditing:NO];
+    if (editing_) [self setEditing:NO];
 }
 
 - (Section *) sectionAtIndexPath:(NSIndexPath *)indexPath {