summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/PatchView.cpp')
-rw-r--r--src/libs/gui/PatchView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/gui/PatchView.cpp b/src/libs/gui/PatchView.cpp
index 8b720db4..0ffe1191 100644
--- a/src/libs/gui/PatchView.cpp
+++ b/src/libs/gui/PatchView.cpp
@@ -161,7 +161,8 @@ PatchView::process_toggled()
void
PatchView::poly_changed()
{
- App::instance().engine()->set_polyphony(_patch->path(), _poly_spin->get_value_as_int());
+ App::instance().engine()->set_property(_patch->path(), "ingen:polyphony",
+ _poly_spin->get_value_as_int());
}