From 0e804be818ab79734fc19596de93984785a43307 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 27 Apr 2022 12:55:33 +0200 Subject: [PATCH] Fix typo in 1dafa5017e00 (first automation point on line) --- 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 bb21fd8b40..8ccd115452 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -770,7 +770,7 @@ AutomationTimeAxisView::add_automation_event (GdkEvent* event, timepos_t const & timepos_t when (pos); _editor.snap_to_with_modifier (when, event); - if (UIConfiguration::instance().get_new_automation_points_on_lane() || _control->list()->size ()) { + if (UIConfiguration::instance().get_new_automation_points_on_lane() || _control->list()->size () == 0) { if (_control->list()->size () == 0) { y = _control->get_value (); } else {