Commit 51d3b6c9 authored by bigben's avatar bigben
Browse files

select first moved item instead of the last one after a drag and drop.

parent 23235a29
......@@ -1649,7 +1649,8 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
}
[self playlistUpdated];
i_row = [o_outline_view rowForItem:[o_outline_dict
objectForKey:[NSString stringWithFormat: @"%p", p_item]]];
objectForKey:[NSString stringWithFormat: @"%p",
[[o_all_items objectAtIndex: 0] pointerValue]]]];
if( i_row == -1 )
{
......
Supports Markdown
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