LocationUI::~LocationUI()
{
- delete _clock_group;
+ loop_edit_row.unset_clock_group ();
+ punch_edit_row.unset_clock_group ();
+ delete _clock_group;
}
gint
framepos_t where = _session->audible_frame();
_session->locations()->next_available_name(markername,"mark");
Location *location = new Location (*_session, where, where, markername, Location::IsMark);
- if (Config->get_name_new_markers()) {
+ if (ARDOUR_UI::config()->get_name_new_markers()) {
newest_location = location;
}
PublicEditor::instance().begin_reversible_command (_("add marker"));