From 392ff7e4f92780aa04763d3f178ae30c76485c9e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 25 Mar 2011 01:55:03 -0700 Subject: Do not refresh after deleting a source. --- MobileCydia.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index e879c9b..370fd17 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -879,6 +879,7 @@ static NSString *CYHex(NSData *data, bool reverse = false) { - (void) distUpgrade; - (void) loadData; - (void) updateData; +- (void) _saveConfig; - (void) syncData; - (void) addSource:(NSDictionary *)source; - (void) addTrivialSource:(NSString *)href; @@ -8636,7 +8637,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi if (editingStyle == UITableViewCellEditingStyleDelete) { Source *source = [self sourceAtIndexPath:indexPath]; [Sources_ removeObjectForKey:[source key]]; - [delegate_ syncData]; + [delegate_ reloadDataWithInvocation:nil]; + [delegate_ _saveConfig]; } } -- cgit v1.2.3