From 389577b1e9d040ce9cc4f5d4dd882274e1ec91c2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 26 Oct 2022 16:56:22 -0600 Subject: [PATCH] automation line: use return value from (new API) model-to-view method --- gtk2_ardour/automation_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 275a3bb854..fbe8d8925c 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -1176,7 +1176,7 @@ AutomationTimeAxisView::cut_copy_clear_one (AutomationLine& line, Selection& sel for (AutomationList::iterator x = what_we_got->begin(); x != what_we_got->end(); ++x) { timepos_t when = (*x)->when; double val = (*x)->value; - line.model_to_view_coord_y (val); + val = line.model_to_view_coord_y (val); (*x)->when = when; (*x)->value = val; }