Commit f49f5d38 authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

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>
(cherry picked from commit 9ae00167)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1ee32a26
......@@ -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