final change for fixing addition of section markers from GUI
This commit is contained in:
parent
f4dfd52cf7
commit
3523de5272
@ -2459,13 +2459,7 @@ Editor::add_location_from_playhead_cursor ()
|
||||
void
|
||||
Editor::add_section_marker_from_playhead_cursor ()
|
||||
{
|
||||
timepos_t where = timepos_t(_session->audible_sample());
|
||||
add_location_mark (where);
|
||||
Location *mark = _session->locations()->mark_at (where);
|
||||
if (mark) {
|
||||
mark->set_section(true);
|
||||
}
|
||||
|
||||
add_location_mark_with_flag (timepos_t (_session->audible_sample ()), Location::Flags (Location::IsMark|Location::IsSection), 0);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user