diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 41ebe3265..dec4dc1ec 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -562,7 +562,8 @@ pe.current = YES; - //[tableView scrollRowToVisible:pe.index]; + if (pe != nil) + [tableView scrollRowToVisible:pe.index]; [pe retain]; [currentEntry release]; diff --git a/Playlist/PlaylistView.m b/Playlist/PlaylistView.m index 7e0da2f86..309e58aab 100644 --- a/Playlist/PlaylistView.m +++ b/Playlist/PlaylistView.m @@ -333,4 +333,5 @@ return NSDragOperationCopy; } + @end