summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc3
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 ());