use VCAUpdateStatus to keep VCA button current

This commit is contained in:
Paul Davis 2016-03-02 12:47:10 -05:00
parent a879310349
commit 7f244ce14d

View File

@ -641,6 +641,11 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
_route->comment_changed.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::setup_comment_button, this), gui_context());
_route->PropertyChanged.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::property_changed, this, _1), gui_context());
_route->gain_control()->VCAStatusChange.connect (route_connections,
invalidator (*this),
boost::bind (&MixerStrip::update_vca_display, this),
gui_context());
set_stuff_from_route ();
/* now force an update of all the various elements */