summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm8
1 files changed, 7 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index c4108aa..48aaef9 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7022,7 +7022,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
}
- (void) cancelUpdate {
- [self stopUpdateWithSelector:@selector(updateData)];
+ [self stopUpdateWithSelector:@selector(updateDataAndLoad)];
}
- (void) cancelPressed {
@@ -9493,6 +9493,12 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
[self _updateData];
}
+- (void) updateDataAndLoad {
+ [self _updateData];
+ if ([database_ progressDelegate] == nil)
+ [self _loaded];
+}
+
- (void) update_ {
[database_ update];
[self performSelectorOnMainThread:@selector(reloadData) withObject:nil waitUntilDone:YES];