diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-25 12:31:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | eee3837245f570d36e5d4d92409660c8ff777b5b (patch) | |
tree | 27e4459babc78bde02c41fca664acb385de8b89a /libs/ardour/automation_control.cc | |
parent | 52b150ba5dda50e52a5e1bfa0aeb900defce3d54 (diff) |
remove explicit setting of Toggle flag for AutomationControls
Make it be based on the ParameterDescriptor, which indicates toggle status anyway
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index d947a3599f..85b0e1fab5 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -55,6 +55,9 @@ AutomationControl::AutomationControl(ARDOUR::Session& s , _session(session) , _desc(desc) { + if (_desc.toggled) { + set_flags (Controllable::Toggle); + } } AutomationControl::~AutomationControl () |