Commit 5ed944ab authored by luyikei's avatar luyikei

Unlink a clip if its linked clip is removed

parent a70c6a8d
......@@ -128,6 +128,9 @@ Rectangle {
Drag.drop();
selected = false;
if ( linkedClip )
findClipItem( linkedClip ).linkedClip = "";
for ( var i = 0; i < allClips.length; ++i ) {
if ( allClips[i] === clip ) {
allClips.splice( i, 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