mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
don't automatically open plugin-GUI when using drag/drop
This commit is contained in:
parent
8649c1759e
commit
80028d7c82
1 changed files with 0 additions and 10 deletions
|
|
@ -1204,16 +1204,6 @@ because the I/O configuration of the plugins could\n\
|
||||||
not match the configuration of this track.");
|
not match the configuration of this track.");
|
||||||
MessageDialog am (msg);
|
MessageDialog am (msg);
|
||||||
am.run ();
|
am.run ();
|
||||||
} else if (pl.size() == 1 && Config->get_open_gui_after_adding_plugin()) {
|
|
||||||
boost::shared_ptr<Processor> processor = pl.front();
|
|
||||||
boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (processor);
|
|
||||||
if (_session->engine().connected () && processor_can_be_edited (processor)) {
|
|
||||||
if (pi && pi->plugin()->has_editor ()) {
|
|
||||||
edit_processor (processor);
|
|
||||||
} else {
|
|
||||||
generic_edit_processor (processor);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue