From 2c8f085a3d750deceaac2eabd3af726eeecca664 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Tue, 15 Oct 2013 10:38:37 -0700 Subject: [PATCH] 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 --- Playlist/PlaylistLoader.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Playlist/PlaylistLoader.m b/Playlist/PlaylistLoader.m index 18eed359d..bffdb2b85 100755 --- a/Playlist/PlaylistLoader.m +++ b/Playlist/PlaylistLoader.m @@ -462,8 +462,8 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL } } - //Select the first entry in the group that was just added - [playlistController setSelectionIndex:index]; + //Clear the selection + [playlistController setSelectionIndexes:nil]; [self performSelectorInBackground:@selector(loadInfoForEntries:) withObject:entries]; return entries; }