summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 487623a..bf8da9a 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9499,7 +9499,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
- (void) reloadDataWithInvocation:(NSInvocation *)invocation {
@synchronized (self) {
UIProgressHUD *hud(loaded_ ? [self addProgressHUD] : nil);
- [hud setText:UCLocalize("RELOADING_DATA")];
+ if (hud != nil)
+ [hud setText:UCLocalize("RELOADING_DATA")];
[database_ yieldToSelector:@selector(reloadDataWithInvocation:) withObject:invocation];