diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index dbb23fb5ba..3f440ef6c8 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -181,6 +181,7 @@ Editor::add_new_location_internal (Location* location) } location->NameChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, location), gui_context()); + location->CueChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, location), gui_context()); location->TimeDomainChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, location), gui_context()); location->FlagsChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_flags_changed, this, location), gui_context()); @@ -227,6 +228,10 @@ Editor::location_changed (Location *location) lam->set_name (location->name ()); } + if (location->is_cue_marker()) { + lam->start->set_cue_index (location->cue_id()); + } + lam->set_position (location->start(), location->end()); if (location->is_auto_loop()) {