diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index 124389e3ef..75e24be256 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -934,7 +934,7 @@ GainMeter::set_controls (boost::shared_ptr r, boost::shared_ptr meter, boost::shared_ptr amp) { - if (meter_alignment.get_parent()) { + if (meter_hbox.get_parent()) { hbox.remove (meter_hbox); }