keep track of the solo mute gain control for MIDI binding etc. etc
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Feb 2011 22:21:27 +0000 (22:21 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 11 Feb 2011 22:21:27 +0000 (22:21 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8829 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_state.cc

index 17fedfb8a4ae30d7fbd8cf5621211abaf6e6d0a0..cb1394740c1eb85482dfef8252570684e68742c4 100644 (file)
@@ -274,6 +274,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
         _solo_cut_control.reset (new ProxyControllable (_("solo cut control (dB)"), PBD::Controllable::GainLike,
                                                         boost::bind (&RCConfiguration::set_solo_mute_gain, Config, _1),
                                                         boost::bind (&RCConfiguration::get_solo_mute_gain, Config)));
+        add_controllable (_solo_cut_control);
 
        _engine.GraphReordered.connect_same_thread (*this, boost::bind (&Session::graph_reordered, this));