summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/audio_time_axis.cc1
-rw-r--r--gtk2_ardour/midi_time_axis.cc2
-rw-r--r--gtk2_ardour/mixer_strip.cc1
-rw-r--r--gtk2_ardour/route_time_axis.cc5
-rw-r--r--gtk2_ardour/route_time_axis.h1
5 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 1e56fbc312..4b78b33cd6 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -289,6 +289,7 @@ AudioTimeAxisView::hide_all_automation (bool apply_to_selection)
void
AudioTimeAxisView::route_active_changed ()
{
+ RouteTimeAxisView::route_active_changed();
update_control_names ();
if (!_route->active()) {
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 8b8fadfbed..fb6cfe9aa6 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -1359,7 +1359,7 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
void
MidiTimeAxisView::route_active_changed ()
{
- RouteUI::route_active_changed ();
+ RouteTimeAxisView::route_active_changed ();
update_control_names();
if (!_route->active()) {
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 79848f7466..a4ad8e3246 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -2437,6 +2437,7 @@ MixerStrip::add_output_port (DataType t)
void
MixerStrip::route_active_changed ()
{
+ RouteUI::route_active_changed ();
reset_strip_style ();
}
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index db5edd27d8..1166fb8be8 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -468,6 +468,11 @@ RouteTimeAxisView::update_track_number_visibility ()
}
void
+RouteTimeAxisView::route_active_changed ()
+{
+}
+
+void
RouteTimeAxisView::parameter_changed (string const & p)
{
if (p == "track-name-number") {
diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h
index cc4effd049..1d24e49abd 100644
--- a/gtk2_ardour/route_time_axis.h
+++ b/gtk2_ardour/route_time_axis.h
@@ -207,6 +207,7 @@ protected:
void take_name_changed (void *src);
void route_property_changed (const PBD::PropertyChange&);
+ void route_active_changed ();
bool name_entry_changed (std::string const&);
virtual void toggle_channel_selector () {}