Commit abfa70a8 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Displaying a little more info in the undo stack when moving clip

parent 54c795ae
......@@ -65,7 +65,11 @@ Commands::MainWorkflow::MoveClip::MoveClip( ::MainWorkflow* workflow, const QUui
m_workflow( workflow ), m_uuid( uuid ), m_oldTrack( oldTrack ),
m_newTrack( newTrack ), m_pos( newPos ), m_trackType( trackType )
{
setText( QObject::tr( "Moving clip" ) );
if ( oldTrack != newTrack )
setText( QObject::tr( "Moving clip from track %1 to %2" ).arg(
QString::number( oldTrack ), QString::number( newTrack ) ) );
else
setText( QObject::tr( "Moving clip" ) );
m_undoRedoAction = false;
m_oldPos = m_workflow->getClipPosition( uuid, oldTrack, trackType );
}
......
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