Fix behaviour of route group list's visible checkbutton.
authorCarl Hetherington <carl@carlh.net>
Sun, 23 May 2010 01:51:17 +0000 (01:51 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 23 May 2010 01:51:17 +0000 (01:51 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7143 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_route_groups.cc

index e60f8f7dc2db2ae7e90d70a06706191046748890..ecd3d3e7c4c6d3448e2533e4d77ad6ac84d882ba 100644 (file)
@@ -556,6 +556,8 @@ EditorRouteGroups::row_change (const Gtk::TreeModel::Path&, const Gtk::TreeModel
        plist.add (Properties::edit, val);
        plist.add (Properties::name, string ((*iter)[_columns.text]));
        
+       group->set_hidden (!(*iter)[_columns.is_visible], this);
+       
        group->set_properties (plist);
 }