mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
remove confusing RC preferences option for get/set use monitor section, and simplymake the RC configuration parameter follow the last session preference setting
git-svn-id: svn://localhost/ardour2/branches/3.0@14114 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
926e1a000e
commit
97abc19803
2 changed files with 4 additions and 8 deletions
|
|
@ -1332,14 +1332,6 @@ RCOptionEditor::RCOptionEditor ()
|
|||
|
||||
add_option (_("Audio"), new OptionEditorHeading (_("Monitoring")));
|
||||
|
||||
add_option (_("Audio"),
|
||||
new BoolOption (
|
||||
"use-monitor-bus",
|
||||
_("Use a monitor bus (allows AFL/PFL and more control)"),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_monitor_bus),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_monitor_bus)
|
||||
));
|
||||
|
||||
ComboOption<MonitorModel>* mm = new ComboOption<MonitorModel> (
|
||||
"monitoring-model",
|
||||
_("Record monitoring handled by"),
|
||||
|
|
|
|||
|
|
@ -293,6 +293,10 @@ SessionOptionEditor::set_use_monitor_section (bool yn)
|
|||
_session->remove_monitor_section ();
|
||||
}
|
||||
|
||||
/* store this choice for any new sessions */
|
||||
|
||||
Config->set_use_monitor_bus (yn);
|
||||
|
||||
return had_monitor_section != yn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue