diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index 420d356c90..e647c51bac 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -1056,6 +1056,13 @@ GainMeter::meter_ticks2_expose (GdkEventExpose *ev) return meter_expose_ticks(ev, _route->meter_type(), _types, &meter_ticks2_area); } +void +GainMeter::on_style_changed (const Glib::RefPtr&) +{ + gain_display.queue_draw(); + peak_display.queue_draw(); +} + boost::shared_ptr GainMeterBase::get_controllable() { @@ -1121,6 +1128,7 @@ GainMeter::meter_configuration_changed (ChanCount c) setup_meters(); meter_clear_pattern_cache(4); + on_style_changed(Glib::RefPtr()); } void diff --git a/gtk2_ardour/gain_meter.h b/gtk2_ardour/gain_meter.h index 1690395bb4..38b89bb8a5 100644 --- a/gtk2_ardour/gain_meter.h +++ b/gtk2_ardour/gain_meter.h @@ -217,6 +217,7 @@ class GainMeter : public GainMeterBase, public Gtk::VBox gint meter_metrics_expose (GdkEventExpose *); gint meter_ticks1_expose (GdkEventExpose *); gint meter_ticks2_expose (GdkEventExpose *); + void on_style_changed (const Glib::RefPtr&); private: