summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/AllNotesOffEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/AllNotesOffEvent.cpp')
-rw-r--r--src/libs/engine/events/AllNotesOffEvent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/engine/events/AllNotesOffEvent.cpp b/src/libs/engine/events/AllNotesOffEvent.cpp
index b26f1315..eacebda1 100644
--- a/src/libs/engine/events/AllNotesOffEvent.cpp
+++ b/src/libs/engine/events/AllNotesOffEvent.cpp
@@ -43,7 +43,9 @@ AllNotesOffEvent::AllNotesOffEvent(Engine& engine, CountedPtr<Responder> respond
void
AllNotesOffEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
-{
+{
+ Event::execute(nframes, start, end);
+
if (m_patch == NULL && m_patch_path != "")
m_patch = _engine.object_store()->find_patch(m_patch_path);