Commit 17edb760 authored by luyikei's avatar luyikei

Track.qml: Restore ListModel "clips" if removed

parent 20309ad5
......@@ -115,7 +115,7 @@ Item {
if ( currentTrack )
var clips = currentTrack["clips"];
else
clips = [];
currentTrack.append( { "clips": [] } );
for ( j = 0; j < clips.count + 2 && isCollided; ++j ) {
isCollided = false;
for ( k = 0; k < clips.count; ++k ) {
......
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