Commit dfd5ae96 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: auto expand when we select one of the elements in the preferences view.

This will hopefully help avoid some of the reports where people fail to notice that there is an expand triangle next to what they clicked on.
parent 77592b7d
...@@ -261,6 +261,7 @@ static VLCPrefs *_o_sharedMainInstance = nil; ...@@ -261,6 +261,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
- (void)outlineViewSelectionDidChange:(NSNotification *)o_notification - (void)outlineViewSelectionDidChange:(NSNotification *)o_notification
{ {
[[o_tree itemAtRow:[o_tree selectedRow]] showView: o_prefs_view]; [[o_tree itemAtRow:[o_tree selectedRow]] showView: o_prefs_view];
[o_tree expandItem:[o_tree itemAtRow:[o_tree selectedRow]]];
} }
@end @end
......
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