From: Grant Paul Date: Sat, 4 Dec 2010 09:16:09 +0000 (-0800) Subject: Fixed slight issue with last commit: always saved section editing changes even if... X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/d2b9e92fffc48e90fd58945681176c8ee11cfdbf Fixed slight issue with last commit: always saved section editing changes even if you were not in editing mode. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 5d3c6523..f73dce64 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 {