Fix disassociation of all from a single channel.
git-svn-id: svn://localhost/ardour2/branches/3.0@4515 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6f14394c95
commit
9fc369aa44
|
@ -475,9 +475,13 @@ PortMatrix::disassociate_all_on_channel (boost::weak_ptr<ARDOUR::Bundle> bundle,
|
||||||
c[dim] = ARDOUR::BundleChannel (sb, channel);
|
c[dim] = ARDOUR::BundleChannel (sb, channel);
|
||||||
c[1-dim] = ARDOUR::BundleChannel (*i, j);
|
c[1-dim] = ARDOUR::BundleChannel (*i, j);
|
||||||
|
|
||||||
set_state (c, false);
|
if (get_state (c) == ASSOCIATED) {
|
||||||
|
set_state (c, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_body->rebuild_and_draw_grid ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user