[vlmc-devel] Clip.qml: Change the linked clip's linked clip if changed

Yikai Lu git at videolan.org
Sat Jul 23 12:06:22 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 23 17:56:52 2016 +0900| [28a2be4251c154475c0fd3ef5af6d053703afbec] | committer: Yikai Lu

Clip.qml: Change the linked clip's linked clip if changed

> https://code.videolan.org/videolan/vlmc/commit/28a2be4251c154475c0fd3ef5af6d053703afbec
---

 src/Gui/timeline/Clip.qml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index aee9800..455f753 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -63,8 +63,10 @@ Rectangle {
         if ( linkedClip ) {
             linked = true;
             var linkedClipItem = findClipItem( linkedClip );
-            if ( linkedClipItem )
+            if ( linkedClipItem ) {
+                linkedClipItem.linkedClip = clip.uuid;
                 linkedClipItem.linked = true;
+            }
         }
         else
             linked = false;



More information about the Vlmc-devel mailing list