diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-17 13:13:26 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-17 13:14:34 -0600 |
commit | 2ee80b4eb7bd029d512eb30eed40ecc055c44eed (patch) | |
tree | ab0f0af58eec718065d895164023c6a29b95ece7 /gtk2_ardour | |
parent | bc9b490e9085e5b0f195cd825a34d23a45b0d605 (diff) |
expand everything for a key editor tab is there is only 1 child node
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/keyeditor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc index 010e741cee..bc5eb19287 100644 --- a/gtk2_ardour/keyeditor.cc +++ b/gtk2_ardour/keyeditor.cc @@ -478,6 +478,10 @@ KeyEditor::Tab::tab_mapped () { data_model->set_sort_column (owner.sort_column, owner.sort_type); filter->refilter (); + + if (data_model->children().size() == 1) { + view.expand_all (); + } } bool |