Commit a99e4e44 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

SequenceWorkflow: Fix too loose condition

This was rejecting a move from a track to another one if the clip was
moved to the exact same position
parent f365e1e0
......@@ -93,7 +93,7 @@ SequenceWorkflow::moveClip( const QUuid& uuid, quint32 trackId, qint64 pos )
auto clip = c->clip;
auto oldTrackId = c->trackId;
auto oldPosition = c->pos;
if ( oldPosition == pos )
if ( oldPosition == pos && oldTrackId == trackId )
return true;
auto t = track( oldTrackId, c->isAudio );
if ( trackId != oldTrackId )
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