diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 28c6f7615b..cf2c3ec370 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -561,12 +561,12 @@ Editor::reparent_location_markers (LocationMarkers* lam, ArdourCanvas::Item* new void Editor::ensure_marker_updated (LocationMarkers* lam, Location* location) { - if (location->is_cd_marker()) { + if (location->is_section()) { + reparent_location_markers (lam, section_marker_group); + } else if (location->is_cd_marker()) { reparent_location_markers (lam, marker_group); } else if (location->is_scene()) { reparent_location_markers (lam, marker_group); - } else if (location->is_section()) { - reparent_location_markers (lam, section_marker_group); } else if (location->is_cue_marker()) { reparent_location_markers (lam, marker_group); } else if (location->is_mark() || location->matches (Location::Flags(0))) {