When showing a prefs pane, select the row in the tree
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 26 Jul 2016 05:54:19 +0000 (07:54 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 26 Jul 2016 06:02:40 +0000 (08:02 +0200)
commitc71cc6fe5b2ded2ff7dce36999e917f707b8e939
tree60b338bb250a1ae1aad3635ac5329df1989c07c4
parent37dc4bd8a7039bfad6e8e6b014aace49a21f6f76
When showing a prefs pane, select the row in the tree

When programmatically showing a pane, instead of directly asking the
preferences notebook to show the pane, search for the asked path in the
panes tree, and select it. Since OptionEditor listens to selection
changes in its TreeView, the correct pane will be shown, with the added
benefit that the corresponding section in the tree will be highlighted
so that the user knows which pane is currently shown.
gtk2_ardour/option_editor.cc