Set up _last_cut_copy_source_track on copying automation points. Should help with...
authorCarl Hetherington <carl@carlh.net>
Mon, 16 May 2011 15:30:21 +0000 (15:30 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 16 May 2011 15:30:21 +0000 (15:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9520 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_ops.cc

index 5f361ae1537bdd043984d350e0b8f42435c74f7b..07e68faf3def511fb1838d982cabe0608b1051c8 100644 (file)
@@ -3556,6 +3556,7 @@ Editor::cut_copy_points (CutCopyOp op)
        for (PointSelection::iterator i = selection->points.begin(); i != selection->points.end(); ++i) {
 
                AutomationTimeAxisView* atv = dynamic_cast<AutomationTimeAxisView*>((*i).track);
+               _last_cut_copy_source_track = atv;
 
                if (atv) {
                        atv->cut_copy_clear_objects (selection->points, op);