From 3b642271a84853c6194095cad2858b3dc2bb4ecd Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 25 Jul 2010 01:10:50 +0200 Subject: [PATCH] When cloning BB track, indicate this fact in name of cloned BB track Cloning a BB track can be rather confusing (e.g. two "Beat/Bassline 0"). Therefore prepend an indication to the name of the cloned BB track. --- src/tracks/bb_track.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tracks/bb_track.cpp b/src/tracks/bb_track.cpp index c0f6cf05d..d774a8eae 100644 --- a/src/tracks/bb_track.cpp +++ b/src/tracks/bb_track.cpp @@ -472,6 +472,8 @@ void bbTrack::loadTrackSpecificSettings( const QDomElement & _this ) // and move back to where it belongs! d->movePosition( pos ); } + setName( tr( "Clone of %1" ).arg( + _this.parentNode().toElement().attribute( "name" ) ) ); } else {