Commit 74c8629c authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: work-around a corner case and disallow the sidebar's library item to collapse

parent 16932fa4
...@@ -2013,6 +2013,9 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -2013,6 +2013,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
/* taken under BSD-new from the PXSourceList sample project, adapted for VLC */ /* taken under BSD-new from the PXSourceList sample project, adapted for VLC */
- (BOOL)sourceList:(PXSourceList*)aSourceList isGroupAlwaysExpanded:(id)group - (BOOL)sourceList:(PXSourceList*)aSourceList isGroupAlwaysExpanded:(id)group
{ {
if ([[group identifier] isEqualToString:@"library"])
return YES;
return NO; return NO;
} }
......
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