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:
Carl Hetherington 2009-02-10 02:06:31 +00:00
parent 6f14394c95
commit 9fc369aa44
1 changed files with 5 additions and 1 deletions

View File

@ -475,9 +475,13 @@ PortMatrix::disassociate_all_on_channel (boost::weak_ptr<ARDOUR::Bundle> bundle,
c[dim] = ARDOUR::BundleChannel (sb, channel);
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