Fixed definition/implementation discrepency for setCurrentEntry

CQTexperiment
vspader 2007-02-18 21:41:47 +00:00
parent a18e93d63e
commit 9c4bab29e5
1 changed files with 2 additions and 2 deletions

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];