make session/Config now responsible for adding/removing a monitor section
This commit is contained in:
parent
098b0f8a8b
commit
639dff3a7c
@ -4135,6 +4135,13 @@ Session::config_changed (std::string p, bool ours)
|
|||||||
ltc_tx_parse_offset();
|
ltc_tx_parse_offset();
|
||||||
} else if (p == "auto-return-target-list") {
|
} else if (p == "auto-return-target-list") {
|
||||||
follow_playhead_priority ();
|
follow_playhead_priority ();
|
||||||
|
} else if (p == "use-monitor-bus") {
|
||||||
|
bool yn = Config->get_use_monitor_bus();
|
||||||
|
if (yn && !_monitor_out) {
|
||||||
|
add_monitor_section ();
|
||||||
|
} else if (!yn && _monitor_out) {
|
||||||
|
remove_monitor_section ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set_dirty ();
|
set_dirty ();
|
||||||
|
Loading…
Reference in New Issue
Block a user