add_option() after addings its choices so that it gets
initialised correctly (#4429). git-svn-id: svn://localhost/ardour2/branches/3.0@10391 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9f60916c45
commit
a41af5ff3b
@ -1177,8 +1177,6 @@ RCOptionEditor::RCOptionEditor ()
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_monitoring_model)
|
||||
);
|
||||
|
||||
add_option (_("Audio"), mm);
|
||||
|
||||
#ifndef __APPLE__
|
||||
/* no JACK monitoring on CoreAudio */
|
||||
if (AudioEngine::instance()->can_request_hardware_monitoring()) {
|
||||
@ -1188,6 +1186,8 @@ RCOptionEditor::RCOptionEditor ()
|
||||
mm->add (SoftwareMonitoring, _("ardour"));
|
||||
mm->add (ExternalMonitoring, _("audio hardware"));
|
||||
|
||||
add_option (_("Audio"), mm);
|
||||
|
||||
add_option (_("Audio"),
|
||||
new BoolOption (
|
||||
"tape-machine-mode",
|
||||
|
Loading…
Reference in New Issue
Block a user