From 559649c338733ce098f13a4a1669f0ba8e141eb3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 8 Jan 2016 11:34:28 +0100 Subject: use config value to avoid race on session-setup. --- gtk2_ardour/mixer_strip.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index ebeb40b51e..df7621b8ea 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -2225,7 +2225,7 @@ MixerStrip::parameter_changed (string p) if (monitor_section_button->get_parent()) { 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 (*monitor_section_button, 1, 2, 0, 1); mute_button->show(); -- cgit v1.2.3