Commit 9ae00167 authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: select the right playlist item when a new file in playlist begins to play

should fix #4812 for vlc 2
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 5db86965
......@@ -597,6 +597,10 @@
[o_outline_view expandItem: o_item];
}
}
id o_item = [o_outline_dict objectForKey:[NSString stringWithFormat: @"%p", p_item]];
NSInteger i_index = [o_outline_view rowForItem:o_item];
[o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_index] byExtendingSelection:NO];
}
/* Check if p_item is a child of p_node recursively. We need to check the item
......
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