fixed a bug introduced before, double clicking on a song in the tableview wouldnt work
parent
dda74d0608
commit
0df5123d05
|
@ -108,7 +108,6 @@
|
||||||
{
|
{
|
||||||
[audioPlayer stop];
|
[audioPlayer stop];
|
||||||
|
|
||||||
|
|
||||||
if([[NSUserDefaults standardUserDefaults] boolForKey:@"enableAudioScrobbler"]) {
|
if([[NSUserDefaults standardUserDefaults] boolForKey:@"enableAudioScrobbler"]) {
|
||||||
[scrobbler stop];
|
[scrobbler stop];
|
||||||
}
|
}
|
||||||
|
@ -147,11 +146,7 @@
|
||||||
if ([playlistView selectedRow] == -1)
|
if ([playlistView selectedRow] == -1)
|
||||||
[playlistView selectRow:0 byExtendingSelection:NO];
|
[playlistView selectRow:0 byExtendingSelection:NO];
|
||||||
|
|
||||||
// IF added by safari (23:52 - 11Nov2008)
|
if ([playlistView selectedRow] > -1)
|
||||||
// - to fix the trackingslider getting enabled, when play is
|
|
||||||
// pressed and there is nothing on the playlist
|
|
||||||
// - check if selectedRow is empty, before playing.
|
|
||||||
if ([playlistView selectedRow] == 0)
|
|
||||||
[self playEntryAtIndex:[playlistView selectedRow]];
|
[self playEntryAtIndex:[playlistView selectedRow]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue