13
0

Locations: provide a signal for when a single Location's Cue-ID changes

This commit is contained in:
Ben Loftis 2022-01-21 10:06:18 -06:00
parent 85f05eaca5
commit 4bc3230756
2 changed files with 3 additions and 1 deletions

View File

@ -148,6 +148,7 @@ public:
PBD::Signal0<void> Changed;
PBD::Signal0<void> NameChanged;
PBD::Signal0<void> CueChanged;
PBD::Signal0<void> EndChanged;
PBD::Signal0<void> StartChanged;
PBD::Signal0<void> FlagsChanged;

View File

@ -441,7 +441,8 @@ Location::set_cue_id (int32_t cue_id)
}
if (_cue != cue_id) {
_cue = cue_id;
cue_change (this);
cue_change (this); /* EMIT SIGNAL */
CueChanged (); /* EMIT SIGNAL */
}
}