diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-04 17:54:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-04 18:08:36 +0200 |
commit | 2fdeb54b7845f4077d1dd4b1158ea1c1e5a3e44b (patch) | |
tree | c73806d9cd6e0f8a2c51f6b24d969c99355f2192 /gtk2_ardour | |
parent | e2d19d16682a136097cd28fc63a7e7cf01193f20 (diff) |
Always add plugins in the order given by the Manager UI.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 0206ecdddc..3d10ac7040 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -2493,6 +2493,11 @@ ProcessorBox::use_plugins (const SelectedPlugins& plugins) } } } + /* add next processor below the currently added. + * Note: placement < 0: add the bottom */ + if (_placement >= 0) { + ++_placement; + } } return false; |