[vlmc-devel] Clip.qml: Fix assigning linkedClips undefined

Yikai Lu git at videolan.org
Mon Jul 10 12:16:36 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jul 10 17:59:02 2017 +0900| [eb1f07e25d6f0b33de04d2d9b4951768ef12d192] | committer: Yikai Lu

Clip.qml: Fix assigning linkedClips undefined

> https://code.videolan.org/videolan/vlmc/commit/eb1f07e25d6f0b33de04d2d9b4951768ef12d192
---

 src/Gui/timeline/Clip.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index 7cd566a6..89890e6b 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -32,7 +32,7 @@ Rectangle {
     property int end
     property string libraryUuid // Library UUID: For thumbnails
     property string uuid // Instance UUID
-    property var linkedClips: linkedClipsDict[uuid] // Uuid
+    property var linkedClips: linkedClipsDict[uuid] ? linkedClipsDict[uuid] : [] // Uuid
     property string type
     property bool selected: false
     property alias mouseX: dragArea.mouseX



More information about the Vlmc-devel mailing list