[vlmc-devel] Timeline: Update currentUuid if a clip being dragged is changed
Yikai Lu
git at videolan.org
Mon Jul 11 14:21:24 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jul 11 21:15:04 2016 +0900| [bd5515ea374a1f59fc4e49e5ac47ab44a8e57a5c] | committer: Yikai Lu
Timeline: Update currentUuid if a clip being dragged is changed
> https://code.videolan.org/videolan/vlmc/commit/bd5515ea374a1f59fc4e49e5ac47ab44a8e57a5c
---
src/Gui/timeline/Track.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Gui/timeline/Track.qml b/src/Gui/timeline/Track.qml
index 91a93f4..91e682b 100644
--- a/src/Gui/timeline/Track.qml
+++ b/src/Gui/timeline/Track.qml
@@ -107,7 +107,7 @@ Item {
onEntered: {
if ( drag.keys.indexOf( "vlmc/uuid" ) >= 0 ) {
- if ( currentUuid ) {
+ if ( currentUuid === drag.getDataAsString( "vlmc/uuid" ) ) {
if ( aClipInfo )
{
aClipInfo["position"] = ptof( drag.x );
More information about the Vlmc-devel
mailing list