Fix last audio track not tested for mirrored insertion

parent 0f053bd0
......@@ -313,6 +313,9 @@ int TimelineModel::getMirrorAudioTrackId(int trackId) const
}
--it;
}
if ((*it)->isAudioTrack() && count == 0) {
return (*it)->getId();
}
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment