diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-01 09:30:37 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-01 10:10:50 -0600 |
commit | d9d9740f1ce94950e82a3c9370487c35e583f818 (patch) | |
tree | 8e72b6910e58fdaaa65d0f57b043eb28ac7b78c2 /gtk2_ardour/location_ui.cc | |
parent | 195fe0f71204a86b90e69067c3460f9ad5d68f83 (diff) |
do not show xrun markers in the "Ranges & Marks" editor list
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r-- | gtk2_ardour/location_ui.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index c72c6dfecc..f39ce911ed 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -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 ()); |