diff options
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 6829e68529..40580329c8 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2875,8 +2875,6 @@ RCOptionEditor::RCOptionEditor () /* MIDI */ - add_option (_("MIDI"), new OptionEditorHeading (_("Buffering"))); - add_option (_("MIDI"), new OptionEditorHeading (_("Session"))); add_option (_("MIDI"), @@ -2917,6 +2915,19 @@ RCOptionEditor::RCOptionEditor () add_option (_("MIDI"), vkeybdlayout); + /* MIDI PORTs */ + add_option (_("MIDI"), new OptionEditorHeading (_("MIDI Port Options"))); + + add_option (_("MIDI"), + new BoolOption ( + "midi-input-follows-selection", + _("MIDI input follows MIDI track selection"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_midi_input_follows_selection), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_midi_input_follows_selection) + )); + + add_option (_("MIDI"), new MidiPortOptions ()); + add_option (_("MIDI"), new OptionEditorBlank ()); /* Click */ @@ -3342,19 +3353,6 @@ RCOptionEditor::RCOptionEditor () add_option (_("Control Surfaces"), new OptionEditorHeading (_("Control Surfaces"))); add_option (_("Control Surfaces"), new ControlSurfacesOptions ()); - /* MIDI PORTs */ - add_option (_("MIDI Ports"), new OptionEditorHeading (_("MIDI Port Options"))); - - add_option (_("MIDI Ports"), - new BoolOption ( - "midi-input-follows-selection", - _("MIDI input follows MIDI track selection"), - sigc::mem_fun (*_rc_config, &RCConfiguration::get_midi_input_follows_selection), - sigc::mem_fun (*_rc_config, &RCConfiguration::set_midi_input_follows_selection) - )); - - add_option (_("MIDI Ports"), new MidiPortOptions ()); - add_option (_("MIDI Ports"), new OptionEditorBlank ()); /* PLUGINS */ |