X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fcontrollable_descriptor.cc;h=fff8b0050be365d926e8dcc5ae0fbacc10201e93;hb=66163305317e8acf20c4a16b9709fc809d6a0ff9;hp=f617468211728e7f713697eb6605d2c680d2c844;hpb=2ff7821128c68a1ff34c971e0e7a85f34948f78e;p=ardour.git diff --git a/libs/ardour/controllable_descriptor.cc b/libs/ardour/controllable_descriptor.cc index f617468211..fff8b0050b 100644 --- a/libs/ardour/controllable_descriptor.cc +++ b/libs/ardour/controllable_descriptor.cc @@ -133,6 +133,8 @@ ControllableDescriptor::set (const std::string& str) } else { return -1; } + + _presentation_order -= 1; /* order is zero-based, but maps use 1-based */ } if (path[1] == "gain") {