mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
Fixed: tableView doens't update its content with capp_lint
This commit is contained in:
@@ -1795,6 +1795,7 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
|
||||
NSInteger numberOfErrors = [errors count];
|
||||
NSInteger i = 0;
|
||||
NSString *path;
|
||||
NSMutableArray *dicts = [NSMutableArray array];
|
||||
|
||||
if (numberOfFiles == 1)
|
||||
path = [paths objectAtIndex:0];
|
||||
@@ -1825,9 +1826,11 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
|
||||
path, @"path",
|
||||
nil];
|
||||
|
||||
[self.errorListController addObject:dict];
|
||||
[dicts addObject:dict];
|
||||
}
|
||||
|
||||
[self performSelectorOnMainThread:@selector(cappLintConversionDidGenerateError:) withObject:dicts waitUntilDone:NO];
|
||||
|
||||
self.isProcessing = NO;
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:XCCBatchDidEndNotification object:self];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:XCCCappLintDidEndNotification object:self];
|
||||
@@ -1835,6 +1838,10 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void)cappLintConversionDidGenerateError:(NSArray*)errors
|
||||
{
|
||||
[self.errorListController addObjects:errors];
|
||||
}
|
||||
|
||||
#pragma mark - User notifications
|
||||
|
||||
|
||||
Reference in New Issue
Block a user