diff --git a/gtk2_ardour/ardour_ui_engine.cc b/gtk2_ardour/ardour_ui_engine.cc index 326f827a27..5170e20964 100644 --- a/gtk2_ardour/ardour_ui_engine.cc +++ b/gtk2_ardour/ardour_ui_engine.cc @@ -114,7 +114,7 @@ void ARDOUR_UI::create_xrun_marker (samplepos_t where) { if (_session) { - Location *location = new Location (*_session, timepos_t (where), timepos_t (where), _("xrun"), Location::IsMark); + Location *location = new Location (*_session, timepos_t (where), timepos_t (where), _("xrun"), Location::Flags(Location::IsMark | Location::IsXrun)); _session->locations()->add (location); } }