mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix save/load of MIDI automation state. Fixes #3354.
git-svn-id: svn://localhost/ardour2/branches/3.0@7578 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7c5f1b7a26
commit
78986385e1
14 changed files with 136 additions and 49 deletions
|
|
@ -346,7 +346,7 @@ GenericPluginUI::automation_state_changed (ControlUI* cui)
|
|||
|
||||
// don't lock to avoid deadlock because we're triggered by
|
||||
// AutomationControl::Changed() while the automation lock is taken
|
||||
switch (insert->get_parameter_automation_state (cui->parameter(), false)
|
||||
switch (insert->get_parameter_automation_state (cui->parameter())
|
||||
& (Off|Play|Touch|Write)) {
|
||||
case Off:
|
||||
cui->automate_button.set_label (_("Manual"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue