the "final" (??) fixes for transport state stuff before 2.8.4. y'all let me know...
[ardour.git] / gtk2_ardour / editor_edit_groups.cc
index 3b21caca6cebdc39f52ff56f65eac57737e4506e..3383e6bfe93d8095848d02aa43fafea2dff8697f 100644 (file)
@@ -229,7 +229,9 @@ Editor::edit_group_row_change (const Gtk::TreeModel::Path& path,const Gtk::TreeM
 
        bool active = (*iter)[group_columns.is_active];
        group->set_active (active, this);
-
+       
+       bool visible = (*iter)[group_columns.is_visible];
+       group->set_hidden (!visible, this);
 
        string name = (*iter)[group_columns.text];
 
@@ -246,7 +248,7 @@ Editor::add_edit_group (RouteGroup* group)
 
        TreeModel::Row row = *(group_model->append());
        row[group_columns.is_active] = group->is_active();
-       row[group_columns.is_visible] = false;
+       row[group_columns.is_visible] = !group->is_hidden();
 
        in_edit_group_row_change = true;