Skip to content
Snippets Groups Projects
Commit b6fbc443 authored by Claudio Cambra's avatar Claudio Cambra Committed by Felix Paul Kühne
Browse files

macosx: Expand video segment node when selecting show segment


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent e1fbce4f
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,9 @@ static NSString * const VLCLibrarySegmentCellIdentifier = @"VLCLibrarySegmentCel
VLCLibrarySegment * const segment = [VLCLibrarySegment segmentWithSegmentType:segmentType];
self.libraryWindow.librarySegmentType = segment.segmentType;
if (segmentType >= VLCLibraryMusicSegment && segmentType <= VLCLibraryGenresMusicSubSegment) {
if (segmentType > VLCLibraryVideoSegment && segmentType <= VLCLibraryShowsVideoSubSegment) {
[self.outlineView expandItem:[self nodeForSegmentType:VLCLibraryVideoSegment]];
} else if (segmentType >= VLCLibraryMusicSegment && segmentType <= VLCLibraryGenresMusicSubSegment) {
[self.outlineView expandItem:[self nodeForSegmentType:VLCLibraryMusicSegment]];
} else if (segmentType >= VLCLibraryBrowseSegment &&
segmentType <= VLCLibraryBrowseBookmarkedLocationSubSegment) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment