diff options
Diffstat (limited to 'gtk2_ardour/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index a891feb2e1..9056adc693 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -117,16 +117,16 @@ AutomationRegionView::add_automation_event (GdkEvent* /*event*/, nframes_t when, _line->view_to_model_coord (x, y); - view->session().begin_reversible_command (_("add automation event")); + view->session()->begin_reversible_command (_("add automation event")); XMLNode& before = _line->the_list()->get_state(); _line->the_list()->add (x, y); XMLNode& after = _line->the_list()->get_state(); - view->session().commit_reversible_command (new MementoCommand<ARDOUR::AutomationList>( + view->session()->commit_reversible_command (new MementoCommand<ARDOUR::AutomationList>( *_line->the_list(), &before, &after)); - view->session().set_dirty (); + view->session()->set_dirty (); } void |