[vlc-commits] macosx: fixed the 'Play' item in the playlist's right-click menu

Felix Paul Kühne git at videolan.org
Tue Jun 5 11:24:16 CEST 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jun  5 11:19:26 2012 +0200| [8b456a3641c3b3b31b2e0456e60898736327c20e] | committer: Felix Paul Kühne

macosx: fixed the 'Play' item in the playlist's right-click menu
(cherry picked from commit 0d1ec0b0c1b7ce333fac03f4870dc414a8c0921d)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=8b456a3641c3b3b31b2e0456e60898736327c20e
---

 modules/gui/macosx/playlist.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 82a7fd3..e0f382e 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -789,7 +789,7 @@
     playlist_item_t *p_node = NULL;
 
     // ignore clicks on column header when handling double action
-    if( sender != nil && [o_outline_view clickedRow] == -1 )
+    if( sender != nil && [o_outline_view clickedRow] == -1 && sender != o_mi_play)
         return;
 
     p_item = [[o_outline_view itemAtRow:[o_outline_view selectedRow]] pointerValue];



More information about the vlc-commits mailing list