Clear the selection when adding items to the playlist, so that the info dialog will hopefully have some valid data next time a track is selected

CQTexperiment
Chris Moeller 2013-10-15 10:38:37 -07:00
parent 617eae5c8e
commit 2c8f085a3d
1 changed files with 2 additions and 2 deletions

View File

@ -462,8 +462,8 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
} }
} }
//Select the first entry in the group that was just added //Clear the selection
[playlistController setSelectionIndex:index]; [playlistController setSelectionIndexes:nil];
[self performSelectorInBackground:@selector(loadInfoForEntries:) withObject:entries]; [self performSelectorInBackground:@selector(loadInfoForEntries:) withObject:entries];
return entries; return entries;
} }