Merge pull request #1574 from curlymorphic/i1388

Proposed fix 1388 Remove auto-naming of copied blocks
This commit is contained in:
Tres Finocchiaro
2015-01-08 10:52:42 -05:00

View File

@@ -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();