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:
parent
dc78d4c241
commit
81cbf022ae
@ -293,7 +293,9 @@ PortMatrix::disassociate_all ()
|
|||||||
ARDOUR::BundleChannel (*k, l)
|
ARDOUR::BundleChannel (*k, l)
|
||||||
};
|
};
|
||||||
|
|
||||||
set_state (c, false);
|
if (get_state (c) == ASSOCIATED) {
|
||||||
|
set_state (c, false);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user