]> git.sesse.net Git - vlc/commitdiff
macosx: fixed playlist re-ordering through drag & drop (close #6045)
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 16 Feb 2012 23:12:58 +0000 (00:12 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 16 Feb 2012 23:12:58 +0000 (00:12 +0100)
modules/gui/macosx/playlist.m

index ce217e7153fe8277208f9b1bb24822f625539ee5..1d12022b6f30e7f5abd85e8c44b5d2c81942b53d 100644 (file)
         }
     }
 
-    /* Don't allow on drop on playlist root element's child */
-    if( !item && index != NSOutlineViewDropOnItemIndex)
-    {
-        return NSDragOperationNone;
-    }
-
     /* We refuse to drop an item in anything else than a child of the General
        Node. We still accept items that would be root nodes of the outlineview
        however, to allow drop in an empty playlist. */