Fix meter metric visibility on narrow strips - #7781

After session load, the meter numerics were always visible,
regardless of strip width.
MixerStrip::set_stuff_from_route() and MixerStrip::set_width_enum()
are called before	Mixer UI is realized and calls show_all().
This commit is contained in:
Robin Gareus 2019-08-04 02:40:59 +02:00
parent 183d3fb493
commit d9d96b181c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -942,6 +942,8 @@ GainMeter::GainMeter (Session* s, int fader_length)
meter_hbox.pack_start (meter_alignment, false, false); meter_hbox.pack_start (meter_alignment, false, false);
meter_hbox.pack_start (meter_ticks2_area, false, false); meter_hbox.pack_start (meter_ticks2_area, false, false);
meter_hbox.pack_start (meter_metric_area, false, false); meter_hbox.pack_start (meter_metric_area, false, false);
meter_metric_area.set_no_show_all ();
} }
#undef PX_SCALE #undef PX_SCALE