Fixed definition/implementation discrepency for setCurrentEntry

This commit is contained in:
vspader 2007-02-18 21:41:47 +00:00
parent a18e93d63e
commit 9c4bab29e5

View file

@ -633,12 +633,12 @@
return currentEntry;
}
- (void)setCurrentEntry:(id)pe
- (void)setCurrentEntry:(PlaylistEntry *)pe
{
[currentEntry setCurrent:NO];
[pe setCurrent:YES];
[tableView scrollRowToVisible:[(PlaylistEntry *)pe index]];
[tableView scrollRowToVisible:[pe index]];
[pe retain];
[currentEntry release];