[vlmc-devel] ClipItem.qml: Show base clips if they have sub clips

Yikai Lu git at videolan.org
Mon Dec 12 04:33:59 CET 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Dec 11 21:33:09 2016 -0600| [a4e115a1739028d281b0e7c73974e3879515b80e] | committer: Yikai Lu

ClipItem.qml: Show base clips if they have sub clips

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

 src/Gui/library/ui/ClipItem.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/library/ui/ClipItem.qml b/src/Gui/library/ui/ClipItem.qml
index c9ce1d6..3236bbc 100644
--- a/src/Gui/library/ui/ClipItem.qml
+++ b/src/Gui/library/ui/ClipItem.qml
@@ -6,7 +6,7 @@ Rectangle {
     id: clipItem
     color: ListView.isCurrentItem ? "black" : "#333333"
     visible: ( clipLibraryView.currentMediaId === mediaId && !isBaseClip ) ||
-             ( clipLibraryView.currentMediaId === -1 && isBaseClip && onTimeline )
+             ( clipLibraryView.currentMediaId === -1 && isBaseClip && ( onTimeline || subClipsCount ) )
 
     property string uuid
     property int mediaId



More information about the Vlmc-devel mailing list