Fix Aux-Send names on copy/paste

Sends do not have any ports, so a unique name is not required.
Since 82541b33a4 custom aux names are kept when setting state.

Previously this "worked" because set_state() change the name
of the new aux-send to the name of the target-bus.
This commit is contained in:
Robin Gareus 2020-03-25 21:01:32 +01:00
parent dbcf7dd666
commit 4a24cc5083
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -3427,8 +3427,6 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, boost::shared_ptr
InternalSend* s = new InternalSend (*_session, sendpan, _route->mute_master(),
_route, boost::shared_ptr<Route>(), Delivery::Aux);
IOProcessor::prepare_for_reset (n, s->name());
if (s->set_state (n, Stateful::loading_state_version)) {
delete s;
return;