merge with master and fix 4 conflicts by hand
[ardour.git] / libs / ardour / plugin_insert.cc
index 27cae70b62d8dbf41f6effa6b0f06ef3875bdea0..5279a3696216e3ac216ed11e57d8adb5a6b80168 100644 (file)
@@ -1203,6 +1203,10 @@ PluginInsert::PluginControl::PluginControl (PluginInsert* p, const Evoral::Param
        _logarithmic = desc.logarithmic;
        _sr_dependent = desc.sr_dependent;
        _toggled = desc.toggled;
+
+       if (desc.toggled) {
+               set_flags(Controllable::Toggle);
+       }
 }
 
 /** @param val `user' value */