do not show xrun markers in the "Ranges & Marks" editor list

This commit is contained in:
Paul Davis 2020-04-01 09:30:37 -06:00
parent 195fe0f712
commit d9d9740f1c
1 changed files with 3 additions and 0 deletions

View File

@ -944,6 +944,9 @@ LocationUI::location_added (Location* location)
punch_edit_row.set_location(location);
} else if (location->is_auto_loop()) {
loop_edit_row.set_location(location);
} else if (location->is_xrun()) {
/* we don't show xrun markers here */
return;
} else if (location->is_range_marker() || location->is_mark()) {
Locations::LocationList loc = _session->locations()->list ();
loc.sort (LocationSortByStart ());