Commit d871ed03 authored by luyikei's avatar luyikei

ClipLibraryView: Fix not updating onTimeline

parent 94f0398b
...@@ -49,9 +49,9 @@ Rectangle { ...@@ -49,9 +49,9 @@ Rectangle {
} }
onClipOnTimelineChanged: { onClipOnTimelineChanged: {
for ( var i = 0; i < clipItems.length; ++i ) { for ( var i = 0; i < clips.count; ++i ) {
if ( clipItems[i].uuid === uuid ) { if ( clips.get(i)["uuid"] === uuid ) {
clipItems[i].onTimeline = onTimeline; clips.get(i)["onTimeline"] = onTimeline;
break; break;
} }
} }
......
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