summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-19 17:15:43 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-19 17:15:43 +0000
commitda4270a93d7c440b89f1a517e69ff5cb10c9076a (patch)
tree5e104c0154dfe9616fba75fbe8e1c22a29d92965 /libs/ardour/midi_model.cc
parent186a9599b641c7618f76852ed7ad0fe6ee8fa702 (diff)
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
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r--libs/ardour/midi_model.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc
index ce357dcd36..039b44e8bd 100644
--- a/libs/ardour/midi_model.cc
+++ b/libs/ardour/midi_model.cc
@@ -1946,3 +1946,9 @@ MidiModel::transpose (TimeType from, TimeType to, int semitones)
apply_command (s->session (), c);
}
+
+void
+MidiModel::control_list_marked_dirty ()
+{
+ ContentsChanged (); /* EMIT SIGNAL */
+}