Commit 54166d1b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Don't allow playlist or media list draging.

parent 7bfc0c63
......@@ -1440,9 +1440,11 @@
(Service Discovery) */
if( ![self isItem: [o_item pointerValue] inNode:
p_playlist->p_local_category checkItemExistence: NO] &&
( var_CreateGetBool( p_playlist, "media-library" ) &&
var_CreateGetBool( p_playlist, "media-library" ) &&
![self isItem: [o_item pointerValue] inNode:
p_playlist->p_ml_category checkItemExistence: NO]) )
p_playlist->p_ml_category checkItemExistence: NO] ||
[o_item pointerValue] == p_playlist->p_local_category ||
[o_item pointerValue] == p_playlist->p_ml_category )
{
vlc_object_release(p_playlist);
return NO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment