fix delivery: check if panshell exists on session-load
This commit is contained in:
parent
6b7fd786aa
commit
2f3830eddb
@ -362,7 +362,7 @@ Delivery::set_state (const XMLNode& node, int version)
|
|||||||
reset_panner ();
|
reset_panner ();
|
||||||
|
|
||||||
XMLNode* pannnode = node.child (X_("Pannable"));
|
XMLNode* pannnode = node.child (X_("Pannable"));
|
||||||
if (_panshell->panner() && pannnode) {
|
if (_panshell && _panshell->panner() && pannnode) {
|
||||||
_panshell->pannable()->set_state (*pannnode, version);
|
_panshell->pannable()->set_state (*pannnode, version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user