Fix crash exploding subscene with only audio
This commit is contained in:
parent
6f59eeeb92
commit
308bbc119a
1 changed files with 2 additions and 1 deletions
|
@ -973,7 +973,8 @@ std::set<int> explode(TXsheet *xsh, TXsheet *subXsh, int index,
|
|||
|
||||
QMap<TFx *, TFx *> fxMap;
|
||||
for (auto it = fxs.constBegin(); it != fxs.constEnd(); ++it) {
|
||||
setGrammerToParams(it.value().first->getParams(), grammer);
|
||||
if (it.value().first)
|
||||
setGrammerToParams(it.value().first->getParams(), grammer);
|
||||
fxMap.insert(it.key(), it.value().first);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue