summaryrefslogtreecommitdiff
path: root/lily/change-iterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/change-iterator.cc')
-rw-r--r--lily/change-iterator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lily/change-iterator.cc b/lily/change-iterator.cc
index aef7567be0..55099a855e 100644
--- a/lily/change-iterator.cc
+++ b/lily/change-iterator.cc
@@ -74,8 +74,8 @@ Change_iterator::process (Moment m)
if (dest)
{
- current->remove_context (last);
- dest->add_context (last);
+ send_stream_event (last, "ChangeParent", get_music ()->origin (),
+ ly_symbol2scm ("context"), dest->self_scm ());
}
else
/* FIXME: constant error message. */