projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6851e5a
)
immediately show plugin GUI if only one plugin is instantiated
author
Robin Gareus
<robin@gareus.org>
Fri, 20 Nov 2015 10:14:36 +0000
(11:14 +0100)
committer
Robin Gareus
<robin@gareus.org>
Fri, 20 Nov 2015 10:14:36 +0000
(11:14 +0100)
gtk2_ardour/processor_box.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/processor_box.cc
b/gtk2_ardour/processor_box.cc
index c69aeeeed97a25b3b97666fadc0ec09afb31422f..0f4b6f9bbfd209786c26a7290deb26ba1c248fcd 100644
(file)
--- a/
gtk2_ardour/processor_box.cc
+++ b/
gtk2_ardour/processor_box.cc
@@
-1564,10
+1564,13
@@
ProcessorBox::use_plugins (const SelectedPlugins& plugins)
weird_plugin_dialog (**p, err_streams);
return true;
// XXX SHAREDPTR delete plugin here .. do we even need to care?
- } else {
-
- if (Profile->get_sae()) {
- processor->activate ();
+ } else if (plugins.size() == 1) {
+ if (_session->engine().connected () && processor_can_be_edited (processor)) {
+ if ((*p)->has_editor ()) {
+ edit_processor (processor);
+ } else {
+ generic_edit_processor (processor);
+ }
}
}
}