Hopefully fix follow-up bug in #4209.
git-svn-id: svn://localhost/ardour2/branches/3.0@9989 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eedb460acf
commit
12d1da30d2
|
@ -436,10 +436,10 @@ PortMatrix::popup_menu (BundleChannel column, BundleChannel row, uint32_t t)
|
|||
);
|
||||
}
|
||||
|
||||
if (can_remove_channels (bc[dim].bundle)) {
|
||||
if (can_remove_channels (bc[dim].bundle) && bc[dim].bundle->nchannels() != ARDOUR::ChanCount::ZERO) {
|
||||
if (bc[dim].channel != -1) {
|
||||
add_remove_option (sub, w, bc[dim].channel);
|
||||
} else if (bc[dim].bundle->nchannels() != ARDOUR::ChanCount::ZERO) {
|
||||
} else {
|
||||
|
||||
snprintf (buf, sizeof (buf), _("Remove all"));
|
||||
sub.push_back (
|
||||
|
|
Loading…
Reference in New Issue