summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r--gtk2_ardour/keyeditor.cc4
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