diff --git a/src/core/track.cpp b/src/core/track.cpp index 53d6b6505..09a87ef68 100644 --- a/src/core/track.cpp +++ b/src/core/track.cpp @@ -249,7 +249,9 @@ void trackContentObject::paste() { if( Clipboard::getContent( nodeName() ) != NULL ) { + const midiTime pos = startPosition(); restoreState( *( Clipboard::getContent( nodeName() ) ) ); + movePosition( pos ); } } diff --git a/src/tracks/bb_track.cpp b/src/tracks/bb_track.cpp index d774a8eae..00a29c3a7 100644 --- a/src/tracks/bb_track.cpp +++ b/src/tracks/bb_track.cpp @@ -462,15 +462,7 @@ void bbTrack::loadTrackSpecificSettings( const QDomElement & _this ) it != tl.end(); ++it ) { ( *it )->getTCO( src )->copy(); - - trackContentObject * d = ( *it )->getTCO( dst ); - // important: remember position of destination TCO as pasting - // settings from source TCO will also restore the position of - // source TCO - const midiTime pos = d->startPosition(); - d->paste(); - // and move back to where it belongs! - d->movePosition( pos ); + ( *it )->getTCO( dst )->paste(); } setName( tr( "Clone of %1" ).arg( _this.parentNode().toElement().attribute( "name" ) ) );