summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r--libs/ardour/lv2_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
index b0c67bf034..c1f3c06b9a 100644
--- a/libs/ardour/lv2_plugin.cc
+++ b/libs/ardour/lv2_plugin.cc
@@ -1340,7 +1340,7 @@ LV2Plugin::load_preset(PresetRecord r)
LV2_Worker_Schedule schedule = { _state_worker, work_schedule };
const LV2_Feature state_sched_feature = { LV2_WORKER__schedule, &schedule };
if (_state_worker) {
- state_features[1] = &state_sched_feature;
+ state_features[0] = &state_sched_feature;
}
if (state) {