-/* the presence of absence of a monitor section is not really a regular session
- * property so we provide these two functions to act as setter/getter slots
- */
-
-bool
-SessionOptionEditor::set_use_monitor_section (bool yn)
-{
- bool had_monitor_section = _session->monitor_out() != 0;
-
- if (yn) {
- _session->add_monitor_section ();
- } else {
- _session->remove_monitor_section ();
- }
-
- /* store this choice for any new sessions */
-
- Config->set_use_monitor_bus (yn);
-
- return had_monitor_section != (_session->monitor_out() != 0);
-}
-
-bool
-SessionOptionEditor::get_use_monitor_section ()
-{
- return _session->monitor_out() != 0;
-}
-