]> git.sesse.net Git - vlc/commitdiff
macosx: fixed the 'Play' item in the playlist's right-click menu
authorFelix Paul Kühne <fkuehne@videolan.org>
Tue, 5 Jun 2012 09:19:26 +0000 (11:19 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 5 Jun 2012 09:20:35 +0000 (11:20 +0200)
modules/gui/macosx/playlist.m

index 8da18e046013c1a59f57064e1670eeff552e48e5..abad412b8fd796c2a82b62bc94cd6dcb93e6da32 100644 (file)
     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];