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; return currentEntry;
} }
- (void)setCurrentEntry:(id)pe - (void)setCurrentEntry:(PlaylistEntry *)pe
{ {
[currentEntry setCurrent:NO]; [currentEntry setCurrent:NO];
[pe setCurrent:YES]; [pe setCurrent:YES];
[tableView scrollRowToVisible:[(PlaylistEntry *)pe index]]; [tableView scrollRowToVisible:[pe index]];
[pe retain]; [pe retain];
[currentEntry release]; [currentEntry release];