Commit eb1006f5 authored by luyikei's avatar luyikei

Timeline: Don't select clips after they are added

parent ca23aff9
......@@ -110,7 +110,10 @@ Rectangle {
}
Component.onCompleted: {
selected = true;
if ( clipInfo["selected"] === false )
selected = false;
else
selected = true;
newTrackId = trackId;
allClips.push( clip );
}
......
......@@ -93,6 +93,7 @@ Rectangle {
newDict["uuid"] = clipDict["uuid"];
newDict["trackId"] = trackId;
newDict["name"] = clipDict["name"];
newDict["selected"] = false;
newDict["linkedClip"] = clipDict["linkedClip"] ? clipDict["linkedClip"] : "";
var tracks = trackContainer( trackType )["tracks"];
while ( trackId > tracks.count - 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