From 10978a2f587d0732b1767c329ae3355bf0e6b761 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 28 Jan 2020 00:05:05 -0700 Subject: [PATCH] rearrange MIDI preferences "tab" to include ports and remove Buffering --- gtk2_ardour/rc_option_editor.cc | 28 +++++++++++++--------------- 1 file 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 */