summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-02 12:47:10 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:39 -0400
commit7f244ce14d905f4f3377197f2662c312beb1f1ae (patch)
tree6d1b4e4edf03383ab0fc6b917bf9099e925e386a /gtk2_ardour/mixer_strip.cc
parenta879310349502936dc598bda35fa405475674db8 (diff)
use VCAUpdateStatus to keep VCA button current
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 5ea57eeaae..523b6cf477 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -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 */