Merge pull request #1231 from manongjohn/fix_explode_audio_subscene

Fix crash exploding subscene with only audio
This commit is contained in:
manongjohn 2023-10-08 00:11:45 -04:00 committed by GitHub
commit 4b64051c1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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