From 7b3e4265b8ffe28820b460c5265b8c15f9af1918 Mon Sep 17 00:00:00 2001 From: Dave French Date: Thu, 8 Jan 2015 06:15:18 +0000 Subject: [PATCH] Proposed fix 1388 Remove auto-naming of copied blocks --- src/core/Track.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/Track.cpp b/src/core/Track.cpp index 5acbb6477..7ee6c1f59 100644 --- a/src/core/Track.cpp +++ b/src/core/Track.cpp @@ -1402,6 +1402,11 @@ bool TrackContentWidget::pasteSelection( MidiTime tcoPos, QDropEvent * _de ) { tco->selectViewOnCreate( true ); } + //check tco name, if the same as source track name dont copy + if( tco->name() == tracks[trackIndex]->name() ) + { + tco->setName( "" ); + } } AutomationPattern::resolveAllIDs();