]> git.sesse.net Git - vlc/commitdiff
macosx: auto expand when we select one of the elements in the preferences view.
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 10 Jun 2009 12:49:37 +0000 (14:49 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 10 Jun 2009 12:49:37 +0000 (14:49 +0200)
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.

modules/gui/macosx/prefs.m

index 2eb1b9006abbf42ea0f0a912ebef78ca44f09433..e69dfda0f7b89a722ee12e433da9ea7ccb566f3f 100644 (file)
@@ -261,6 +261,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
 - (void)outlineViewSelectionDidChange:(NSNotification *)o_notification
 {
     [[o_tree itemAtRow:[o_tree selectedRow]] showView: o_prefs_view];
+    [o_tree expandItem:[o_tree itemAtRow:[o_tree selectedRow]]];
 }
 
 @end