summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-19 16:29:39 +0200
committerRobin Gareus <robin@gareus.org>2016-05-19 16:29:39 +0200
commit6815dc7ead18c6d791833d2022b76cb9d75d0a96 (patch)
treee8cdc07cbcfb198316ab13973accdbfaf7e4c33e /gtk2_ardour/rc_option_editor.cc
parent77f351857145687353195b87cf715b7168583773 (diff)
towards an Instrument Setup/Replace workflow
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index e98ee2a093..3428125bf9 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -3001,6 +3001,27 @@ if (!ARDOUR::Profile->get_mixbus()) {
);
add_option (_("Plugins"), _plugin_prefer_inline);
#endif
+
+ add_option (_("Plugins"), new OptionEditorHeading (_("Instrument")));
+
+ bo = new BoolOption (
+ "ask-replace-instrument",
+ _("Ask to replace existing instrument plugin"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_ask_replace_instrument),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_ask_replace_instrument)
+ );
+ add_option (_("Plugins"), bo);
+
+ bo = new BoolOption (
+ "ask-setup_instrument",
+ _("Interactively configure instrument plugins on insert"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_ask_setup_instrument),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_ask_setup_instrument)
+ );
+ add_option (_("Plugins"), bo);
+ Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
+ _("<b>When enabled</b> show a dialog to select instrument channel configuration before adding a multichannel plugin."));
+
#endif
/* INTERFACE */