diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-23 18:15:00 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-24 01:45:16 +0100 |
commit | 80028d7c8277af8681f2505f3edef47a01baf728 (patch) | |
tree | 74bb9a3609ac5ee8dab357ee735cd1493fbaf5e6 /gtk2_ardour | |
parent | 8649c1759efd9dc9e4c53795c0a40fa3fbd83e13 (diff) |
don't automatically open plugin-GUI when using drag/drop
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index f6f3bd86ec..666d770fd2 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1204,16 +1204,6 @@ because the I/O configuration of the plugins could\n\ not match the configuration of this track."); MessageDialog am (msg); 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); - } - } } } |