summaryrefslogtreecommitdiff
path: root/gtk2_ardour/vca_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/vca_time_axis.cc')
-rw-r--r--gtk2_ardour/vca_time_axis.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/vca_time_axis.cc b/gtk2_ardour/vca_time_axis.cc
index efa1c3cdea..d4394a65a2 100644
--- a/gtk2_ardour/vca_time_axis.cc
+++ b/gtk2_ardour/vca_time_axis.cc
@@ -113,6 +113,8 @@ VCATimeAxisView::VCATimeAxisView (PublicEditor& ed, Session* s, ArdourCanvas::Ca
controls_ebox.set_name (controls_base_unselected_name);
time_axis_frame.set_name (controls_base_unselected_name);
+ s->MonitorBusAddedOrRemoved.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::set_button_names, this), gui_context());
+
s->config.ParameterChanged.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::parameter_changed, this, _1), gui_context());
Config->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::parameter_changed, this, _1), gui_context());
UIConfiguration::instance().ParameterChanged.connect (sigc::mem_fun (*this, &VCATimeAxisView::parameter_changed));
@@ -135,7 +137,7 @@ VCATimeAxisView::parameter_changed (std::string const & p)
{
if (p == "track-name-number") {
update_track_number_visibility();
- } else if (p == "use-monitor-bus" || p == "solo-control-is-listen-control" || p == "listen-position") {
+ } else if (p == "solo-control-is-listen-control" || p == "listen-position") {
set_button_names ();
}
}