Add option to use plugin GUIs or Ardour generic ones.

git-svn-id: svn://localhost/ardour2/branches/3.0@11298 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-01-22 10:18:37 +00:00
parent c95b34642f
commit b447024c32
3 changed files with 14 additions and 2 deletions

View file

@ -1025,7 +1025,11 @@ ProcessorBox::processor_button_press_event (GdkEventButton *ev, ProcessorEntry*
if (_session->engine().connected()) {
/* XXX giving an error message here is hard, because we may be in the midst of a button press */
toggle_edit_processor (processor);
if (Config->get_use_plugin_own_gui ()) {
toggle_edit_processor (processor);
} else {
toggle_edit_generic_processor (processor);
}
}
ret = true;