mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Emit ContentsChanged on the model when one of its control lists changes. Should fix #3880.
git-svn-id: svn://localhost/ardour2/branches/3.0@10095 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
186a9599b6
commit
da4270a93d
3 changed files with 9 additions and 1 deletions
|
|
@ -289,6 +289,8 @@ private:
|
||||||
void control_list_interpolation_changed (Evoral::Parameter, Evoral::ControlList::InterpolationStyle);
|
void control_list_interpolation_changed (Evoral::Parameter, Evoral::ControlList::InterpolationStyle);
|
||||||
void automation_list_automation_state_changed (Evoral::Parameter, AutoState);
|
void automation_list_automation_state_changed (Evoral::Parameter, AutoState);
|
||||||
|
|
||||||
|
void control_list_marked_dirty ();
|
||||||
|
|
||||||
PBD::ScopedConnectionList _midi_source_connections;
|
PBD::ScopedConnectionList _midi_source_connections;
|
||||||
|
|
||||||
// We cannot use a boost::shared_ptr here to avoid a retain cycle
|
// We cannot use a boost::shared_ptr here to avoid a retain cycle
|
||||||
|
|
|
||||||
|
|
@ -1946,3 +1946,9 @@ MidiModel::transpose (TimeType from, TimeType to, int semitones)
|
||||||
|
|
||||||
apply_command (s->session (), c);
|
apply_command (s->session (), c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
MidiModel::control_list_marked_dirty ()
|
||||||
|
{
|
||||||
|
ContentsChanged (); /* EMIT SIGNAL */
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -313,7 +313,7 @@ private:
|
||||||
void get_notes_by_pitch (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const;
|
void get_notes_by_pitch (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const;
|
||||||
void get_notes_by_velocity (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const;
|
void get_notes_by_velocity (Notes&, NoteOperator, uint8_t val, int chan_mask = 0) const;
|
||||||
|
|
||||||
void control_list_marked_dirty ();
|
virtual void control_list_marked_dirty ();
|
||||||
|
|
||||||
const TypeMap& _type_map;
|
const TypeMap& _type_map;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue