Skip to content
Commit 6d70e304 authored by Eric Jiang's avatar Eric Jiang Committed by Julius Künzel
Browse files

Select a valid activeTrack for new documents

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
parent aaff3cad
Pipeline #199930 passed with stage
in 7 minutes and 15 seconds
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