Proposed fix 1388 Remove auto-naming of copied blocks

This commit is contained in:
Dave French
2015-01-08 06:15:18 +00:00
parent 13bdfb4b13
commit 7b3e4265b8

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