13
0

fix delivery: check if panshell exists on session-load

This commit is contained in:
Robin Gareus 2014-01-13 11:49:09 +01:00 committed by Paul Davis
parent 6b7fd786aa
commit 2f3830eddb

View File

@ -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);
} }