Fix disassociate all to only disassociate if required.

git-svn-id: svn://localhost/ardour2/branches/3.0@4512 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-02-10 00:49:48 +00:00
parent dc78d4c241
commit 81cbf022ae

View File

@ -293,7 +293,9 @@ PortMatrix::disassociate_all ()
ARDOUR::BundleChannel (*k, l)
};
if (get_state (c) == ASSOCIATED) {
set_state (c, false);
}
}
}