13
0

use config value to avoid race on session-setup.

This commit is contained in:
Robin Gareus 2016-01-08 11:34:28 +01:00
parent b4b0f57c0b
commit 559649c338

View File

@ -2225,7 +2225,7 @@ MixerStrip::parameter_changed (string p)
if (monitor_section_button->get_parent()) { if (monitor_section_button->get_parent()) {
monitor_section_button->get_parent()->remove(*monitor_section_button); monitor_section_button->get_parent()->remove(*monitor_section_button);
} }
if (_session->monitor_out()) { if (Config->get_use_monitor_bus ()) {
mute_solo_table.attach (*mute_button, 0, 1, 0, 1); mute_solo_table.attach (*mute_button, 0, 1, 0, 1);
mute_solo_table.attach (*monitor_section_button, 1, 2, 0, 1); mute_solo_table.attach (*monitor_section_button, 1, 2, 0, 1);
mute_button->show(); mute_button->show();