summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-01-28 00:05:05 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-01-28 00:05:05 -0700
commit10978a2f587d0732b1767c329ae3355bf0e6b761 (patch)
tree61424423bd6de8a36794f24ae16704e3ae1fe1f2 /gtk2_ardour/rc_option_editor.cc
parent5d995264064485684f8cb3fe1a452debaecff0ef (diff)
rearrange MIDI preferences "tab" to include ports and remove Buffering
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc28
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 */