Stop bundles disappearing from the port matrix when they

have no channels (#4209).  Also fix the remove all
channels menu option.


git-svn-id: svn://localhost/ardour2/branches/3.0@9986 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-08-13 20:19:39 +00:00
parent f75bbfd8ac
commit 07a58ffd62
10 changed files with 99 additions and 76 deletions

View file

@ -126,6 +126,7 @@ public:
bool should_show (ARDOUR::DataType) const;
uint32_t count_of_our_type (ARDOUR::ChanCount) const;
uint32_t count_of_our_type_min_1 (ARDOUR::ChanCount) const;
PortMatrixNode::State get_association (PortMatrixNode) const;
@ -159,6 +160,8 @@ public:
sigc::signal<void, Result> Finished;
static bool bundle_with_channels (boost::shared_ptr<ARDOUR::Bundle>);
protected:
/** We have two port group lists. One will be presented on the rows of the matrix,