diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-04 17:08:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-04 18:08:36 +0200 |
commit | e2d19d16682a136097cd28fc63a7e7cf01193f20 (patch) | |
tree | 4648fccac50f533d3060bf39591f02fd6a95e33b | |
parent | 5292a8f4ae1469d6287a75814c8661f4fb8ba311 (diff) |
Retain plugins order for copy/cut/paste + DnD #7416
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 61b80116ca..0206ecdddc 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -2040,7 +2040,7 @@ ProcessorBox::object_drop (DnDVBox<ProcessorEntry>* source, ProcessorEntry* posi boost::shared_ptr<Processor> p = find_drop_position (position); - list<ProcessorEntry*> children = source->selection (); + list<ProcessorEntry*> children = source->selection (true); list<boost::shared_ptr<Processor> > procs; for (list<ProcessorEntry*>::const_iterator i = children.begin(); i != children.end(); ++i) { if ((*i)->processor ()) { @@ -3455,7 +3455,7 @@ could not match the configuration of this track."); void ProcessorBox::get_selected_processors (ProcSelection& processors) const { - const list<ProcessorEntry*> selection = processor_display.selection (); + const list<ProcessorEntry*> selection = processor_display.selection (true); for (list<ProcessorEntry*>::const_iterator i = selection.begin(); i != selection.end(); ++i) { processors.push_back ((*i)->processor ()); } |