From 466b2f909c72c36c788d5f427654cbc9598f16ed Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 10 Mar 2007 14:23:35 +0000 Subject: [PATCH] Fixed mousedown bug in the playlist view. It should only play if something is selected. --- Playlist/PlaylistView.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Playlist/PlaylistView.m b/Playlist/PlaylistView.m index e221e7508..931a80d7c 100644 --- a/Playlist/PlaylistView.m +++ b/Playlist/PlaylistView.m @@ -79,14 +79,12 @@ - (void)mouseDown:(NSEvent *)e { - NSLog(@"MOUSE DOWN"); - if ([e type] == NSLeftMouseDown && [e clickCount] == 2) + if ([e type] == NSLeftMouseDown && [e clickCount] == 2 && [self selectedRow] != -1) { [playbackController play:self]; } else { - NSLog(@"Super"); [super mouseDown:e]; } }