[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:20:40 CEST 2012


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

macosx: fixed the 'Play' item in the playlist's right-click menu

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d1ec0b0c1b7ce333fac03f4870dc414a8c0921d
---

 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 8da18e0..abad412 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -897,7 +897,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