From a23d62b26840d7753f81d4e04810b4db4f70936a Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sat, 4 Dec 2010 01:16:09 -0800 Subject: [PATCH] Fixed slight issue with last commit: always saved section editing changes even if you were not in editing mode. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.0