Skip to content

Select a valid activeTrack for new documents

Eric Jiang requested to merge erjiang/kdenlive:activetrack-crash into master

When creating a new KdenliveDoc, the activeTrack property was set to be the last audio track's position + 1. If a new document with 0 video tracks is created, then activeTrack is out of range and causes a crash later in TimelineController::documentProperties().

This fixes BUG: 442545

Merge request reports