From c5d4a0c17202ec099f24aa1c3d33628a95b45ed8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 29 Aug 2023 22:03:16 +0200 Subject: [PATCH] Amend previous commit (initial marker group) --- gtk2_ardour/editor_markers.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 4fed848298..a3d47e3c8a 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -125,14 +125,14 @@ Editor::add_new_location_internal (Location* location) if (location->is_mark()) { - if (location->is_cd_marker() && ruler_cd_marker_action->get_active()) { + if (location->is_cd_marker()) { lam->start = new ArdourMarker (*this, *cd_marker_group, color, location->name(), ArdourMarker::Mark, location->start()); group = cd_marker_group; - } else if (location->is_cue_marker() && ruler_cue_marker_action->get_active()) { + } else if (location->is_cue_marker()) { lam->start = new ArdourMarker (*this, *cue_marker_group, color, location->name(), ArdourMarker::Cue, location->start()); lam->start->set_cue_index(location->cue_id()); group = cue_marker_group; - } else if (location->is_section() && ruler_section_action->get_active()) { + } else if (location->is_section()) { lam->start = new ArdourMarker (*this, *section_marker_group, color, location->name(), ArdourMarker::Mark, location->start()); group = section_marker_group; } else { @@ -169,7 +169,7 @@ Editor::add_new_location_internal (Location* location) } else { // range marker - if (location->is_cd_marker() && ruler_cd_marker_action->get_active()) { + if (location->is_cd_marker()) { lam->start = new ArdourMarker (*this, *cd_marker_group, color, location->name(), ArdourMarker::RangeStart, location->start()); lam->end = new ArdourMarker (*this, *cd_marker_group, color,