summaryrefslogtreecommitdiff
path: root/libs/ardour/route.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/route.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/route.cc')
-rw-r--r--libs/ardour/route.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 3e424a9603..c36e501aef 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -145,12 +145,10 @@ Route::init ()
add_control (_trim_control);
_solo_control.reset (new SoloControl (_session, X_("solo"), *this, *this));
- _solo_control->set_flags (Controllable::Flag (_solo_control->flags() | Controllable::Toggle));
add_control (_solo_control);
_solo_control->Changed.connect_same_thread (*this, boost::bind (&Route::solo_control_changed, this, _1, _2));
_mute_control.reset (new MuteControl (_session, X_("mute"), *this));
- _mute_control->set_flags (Controllable::Flag (_mute_control->flags() | Controllable::Toggle));
add_control (_mute_control);
_phase_control.reset (new PhaseControl (_session, X_("phase")));