remove logging, add begin/end updates

This commit is contained in:
Kelvin Sherlock 2021-07-10 11:25:25 -04:00
parent c7d0a2aecb
commit 053b9d84db
2 changed files with 3 additions and 1 deletions

View File

@ -250,7 +250,6 @@
-(IBAction)doubleClick: (id)sender {
NSDictionary *d = [self clickedItem];
NSLog(@"%@", d);
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];

View File

@ -778,8 +778,11 @@ static NSString *kDragType = @"private.ample.media";
return NO;
}
[_outlineView beginUpdates];
// todo -- check root, insert if necessary?
MediaCategory *cat = _data[ix];
[cat addURL: url];
[_outlineView endUpdates];
[self rebuildArgs];
return YES;