summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-04 01:16:09 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-04 01:16:09 -0800
commita23d62b26840d7753f81d4e04810b4db4f70936a (patch)
tree05903ec2b6e463e36b31a08e739487f7d821769a /MobileCydia.mm
parente954c30af6dc38a7ca6a296fbaed9863be378700 (diff)
Fixed slight issue with last commit: always saved section editing changes even if you were not in editing mode.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 5d3c652..f73dce6 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {