summaryrefslogtreecommitdiff
path: root/muse2/muse/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/functions.cpp')
-rw-r--r--muse2/muse/functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/functions.cpp b/muse2/muse/functions.cpp
index 7569cc95..45c665b1 100644
--- a/muse2/muse/functions.cpp
+++ b/muse2/muse/functions.cpp
@@ -1523,7 +1523,7 @@ bool merge_parts(const set<const Part*>& parts)
{
Event new_event=ev_it->second.clone();
new_event.setTick( new_event.tick() + (*p_it)->tick() - new_part->tick() );
- new_part->nonconst_events().add(new_event);
+ new_part->addEvent(new_event);
}
}