mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
do not show xrun markers in the "Ranges & Marks" editor list
This commit is contained in:
parent
195fe0f712
commit
d9d9740f1c
1 changed files with 3 additions and 0 deletions
|
|
@ -944,6 +944,9 @@ LocationUI::location_added (Location* location)
|
||||||
punch_edit_row.set_location(location);
|
punch_edit_row.set_location(location);
|
||||||
} else if (location->is_auto_loop()) {
|
} else if (location->is_auto_loop()) {
|
||||||
loop_edit_row.set_location(location);
|
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()) {
|
} else if (location->is_range_marker() || location->is_mark()) {
|
||||||
Locations::LocationList loc = _session->locations()->list ();
|
Locations::LocationList loc = _session->locations()->list ();
|
||||||
loc.sort (LocationSortByStart ());
|
loc.sort (LocationSortByStart ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue