From e2d19d16682a136097cd28fc63a7e7cf01193f20 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 4 Jul 2017 17:08:58 +0200 Subject: Retain plugins order for copy/cut/paste + DnD #7416 --- gtk2_ardour/processor_box.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/processor_box.cc') 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* source, ProcessorEntry* posi boost::shared_ptr p = find_drop_position (position); - list children = source->selection (); + list children = source->selection (true); list > procs; for (list::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 selection = processor_display.selection (); + const list selection = processor_display.selection (true); for (list::const_iterator i = selection.begin(); i != selection.end(); ++i) { processors.push_back ((*i)->processor ()); } -- cgit v1.2.3