diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-05 11:22:10 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:39 -0800 |
commit | aa42c612e74d90a819514080fcda534f08184ab1 (patch) | |
tree | 0c3f0769893f928a75a61e0ea4d918fdad2cd1ac /MobileCydia.mm | |
parent | 4ed3775e6f6977752cb483756b936c5a0851b66b (diff) |
Cancelling a refresh should not count as an update.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 79ab076..1b5e4a1 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3713,13 +3713,13 @@ static NSString *Warning_; bool success(ListUpdate(status, list, PulseInterval_)); if (status.WasCancelled()) _error->Discard(); - else + else { [self popErrorWithTitle:title forOperation:success]; + [Metadata_ setObject:[NSDate date] forKey:@"LastUpdate"]; + Changed_ = true; + } [delegate_ performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; - - [Metadata_ setObject:[NSDate date] forKey:@"LastUpdate"]; - Changed_ = true; } - (void) setDelegate:(NSObject<DatabaseDelegate> *)delegate { |