connect preferences dialog buttons to pages
Only the sync and MIDI tabs go anywhere sensible right now
This commit is contained in:
parent
7b485ddf37
commit
6bd9dd12a3
@ -2379,6 +2379,12 @@ RCOptionEditor::RCOptionEditor ()
|
||||
button_box().set_homogeneous (true);
|
||||
button_box().show_all ();
|
||||
|
||||
/* These bindings all use the page title, which is the full first (string argument) to ::add_option() */
|
||||
audiomidi_tab_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (*this, &OptionEditor::set_current_page), _("General")));
|
||||
midi_tab_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (*this, &OptionEditor::set_current_page), _("MIDI")));
|
||||
preferences_tab_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (*this, &OptionEditor::set_current_page), _("General")));
|
||||
sync_tab_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (*this, &OptionEditor::set_current_page), _("Transport")));
|
||||
|
||||
/* GENERAL *****************************************************************/
|
||||
|
||||
add_option (_("General"), new OptionEditorHeading (_("Audio/MIDI Setup")));
|
||||
|
Loading…
Reference in New Issue
Block a user