for (Target *target in [runningTargets copy]) {
if (![target update:self]) {
[runningTargets removeObject:target];
- NSLog(@"Removing action, now running %lu.", runningTargets.count);
}
}
if (!runningTargets.count) {
return [item name];
}
-- (void)outlineViewSelectionDidChange: (NSNotification*) notification {
- [targetController reset];
- [targetController load];
+- (void)outlineViewSelectionDidChange:(NSNotification *)notification {
+ [targetController loadCurrent];
}
@end