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
parent 35aed0efab
commit 346310c60b

View File

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