From 53cff011236102f1e07ef16eec0e7d9d4b7cd5db Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 16 Feb 2008 14:09:19 +0000 Subject: [PATCH] Attempted fix of double-click drag allowing selection without playing. It causes a few issues. Mainly you need to have only one row selected for double-click play to work. We'll see how it works. --- Playlist/PlaylistView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Playlist/PlaylistView.m b/Playlist/PlaylistView.m index de4ed539e..404952b58 100644 --- a/Playlist/PlaylistView.m +++ b/Playlist/PlaylistView.m @@ -130,7 +130,7 @@ { [super mouseDown:e]; - if ([e type] == NSLeftMouseDown && [e clickCount] == 2 && [self selectedRow] != -1) + if ([e type] == NSLeftMouseDown && [e clickCount] == 2 && [[self selectedRowIndexes] count] == 1) { [playbackController play:self]; }