mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
immediately show plugin GUI if only one plugin is instantiated
This commit is contained in:
parent
6851e5a53e
commit
7923a0e679
1 changed files with 7 additions and 4 deletions
|
|
@ -1564,10 +1564,13 @@ ProcessorBox::use_plugins (const SelectedPlugins& plugins)
|
||||||
weird_plugin_dialog (**p, err_streams);
|
weird_plugin_dialog (**p, err_streams);
|
||||||
return true;
|
return true;
|
||||||
// XXX SHAREDPTR delete plugin here .. do we even need to care?
|
// XXX SHAREDPTR delete plugin here .. do we even need to care?
|
||||||
} else {
|
} else if (plugins.size() == 1) {
|
||||||
|
if (_session->engine().connected () && processor_can_be_edited (processor)) {
|
||||||
if (Profile->get_sae()) {
|
if ((*p)->has_editor ()) {
|
||||||
processor->activate ();
|
edit_processor (processor);
|
||||||
|
} else {
|
||||||
|
generic_edit_processor (processor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue