File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -673,8 +673,6 @@ Command* Song::go()
673
673
{
674
674
// printf("Song-%d::go m_transport is %d\n", m_id, m_transport);
675
675
676
- CommandGroup* group = 0 ;
677
-
678
676
if (is_transporting () && m_recording) {
679
677
set_recording (false );
680
678
}
@@ -685,7 +683,7 @@ Command* Song::go()
685
683
emit transferStarted ();
686
684
687
685
if (m_recording && any_track_armed ()) {
688
- group = new CommandGroup (this , " " );
686
+ CommandGroup* group = new CommandGroup (this , " " );
689
687
int clipcount = 0 ;
690
688
foreach (Track* track, m_tracks) {
691
689
if (track->armed ()) {
@@ -697,17 +695,13 @@ Command* Song::go()
697
695
}
698
696
}
699
697
group->setText (tr (" Recording to %n Clip(s)" , " " , clipcount));
698
+ Command::process_command (group);
700
699
}
701
700
702
701
m_transport = true ;
703
- // printf("m_transport is %d\n", m_transport);
704
702
realtimepath = true ;
705
703
}
706
704
707
- if (group) {
708
- return group;
709
- }
710
-
711
705
return ie ().succes ();
712
706
}
713
707
You can’t perform that action at this time.
0 commit comments