summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-25 12:31:50 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:41 -0400
commiteee3837245f570d36e5d4d92409660c8ff777b5b (patch)
tree27e4459babc78bde02c41fca664acb385de8b89a /libs/ardour/track.cc
parent52b150ba5dda50e52a5e1bfa0aeb900defce3d54 (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/track.cc')
-rw-r--r--libs/ardour/track.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 43dc26122e..80169bf5a1 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -66,7 +66,6 @@ Track::init ()
_record_enable_control.reset (new RecordEnableControl (_session, X_("recenable"), *this));
add_control (_record_enable_control);
- _record_enable_control->set_flags (Controllable::Toggle);
_record_safe_control.reset (new AutomationControl (_session, RecSafeAutomation, ParameterDescriptor (RecSafeAutomation),
boost::shared_ptr<AutomationList> (new AutomationList (Evoral::Parameter (RecSafeAutomation))),