[self.inputsTree insertItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
inParent:nil
withAnimation:NSTableViewAnimationEffectFade];
[self reexpandAll];
[self.inputsTree insertItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
inParent:nil
withAnimation:NSTableViewAnimationEffectFade];
[self reexpandAll];
self.noDevicesNotice.hidden = YES;
}
- (void)removedDevice:(NJDevice *)device atIndex:(NSUInteger)idx {
BOOL anyDevices = !![self.delegate numberOfDevicesInDeviceList:self];
self.noDevicesNotice.hidden = YES;
}
- (void)removedDevice:(NJDevice *)device atIndex:(NSUInteger)idx {
BOOL anyDevices = !![self.delegate numberOfDevicesInDeviceList:self];
[self.inputsTree removeItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
inParent:nil
withAnimation:NSTableViewAnimationEffectFade];
[self.inputsTree removeItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
inParent:nil
withAnimation:NSTableViewAnimationEffectFade];