Ruler Marker: watch for -my- location cue-id to change
This commit is contained in:
parent
c9b5db6dee
commit
48c5974b2b
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user