diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index 8bdc36956a..d3081cae92 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -265,8 +265,7 @@ AutomationRegionView::paste (timepos_t const & pos XMLNode& before = my_list->get_state(); my_list->paste (*slist, model_pos); - view->session()->add_command( - new MementoCommand(_line->memento_command_binder(), &before, &my_list->get_state())); + view->session()->add_command(new MementoCommand(_line->memento_command_binder(), &before, &my_list->get_state())); return true; }