Commit 237cbea9 authored by luyikei's avatar luyikei

Main.qml: Count tracks on every loop of removeClipFromTrackContainer

parent 46e54df0
......@@ -102,8 +102,7 @@ Rectangle {
function removeClipFromTrackContainer( trackType, uuid )
{
var tracks = trackContainer( trackType )["tracks"];
for ( var i = 0; i < tracks.count; i++ )
for ( var i = 0; i < trackContainer( trackType )["tracks"].count; i++ )
removeClipFromTrack( trackType, i, uuid );
}
......
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