Make meters stay off when they are supposed to be

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2691 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2007-11-18 07:13:55 +00:00
parent 8683ccfd80
commit ef3f600a1a

View file

@ -965,11 +965,15 @@ GainMeter::gain_automation_state_changed ()
void GainMeter::setup_atv_meter (int len)
{
set_no_show_all();
regular_meter_width = 3;
hide_all();
set_width(Narrow, len);
meter_packer.show_all();
hbox.show();
show();
if (Config->get_show_track_meters()) {
set_no_show_all();
regular_meter_width = 3;
hide_all();
set_width(Narrow, len);
meter_packer.show_all();
hbox.show();
show();
}
}