Fix loading old route-templates

This follows 983c577945, don't allow unlinked
pannable to override main panners.
This commit is contained in:
Robin Gareus 2021-05-06 21:20:31 +02:00
parent 1173262503
commit 221b272f8a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ Delivery::set_state (const XMLNode& node, int version)
XMLNode* pannnode = node.child (X_("Pannable"));
if (_panshell && _panshell->panner() && pannnode) {
if (_panshell && _panshell->unlinked_pannable() && pannnode) {
_panshell->unlinked_pannable()->set_state (*pannnode, version);
}