mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-11 07:56:27 +01:00
when creating a route from a template, use correct call to setup XML state so that name/ports are unique
This commit is contained in:
parent
9336bddee2
commit
cd0f5e06a9
1 changed files with 1 additions and 3 deletions
|
|
@ -3480,9 +3480,7 @@ Session::new_route_from_template (uint32_t how_many, PresentationInfo::order_t i
|
|||
(*i)->remove_property (X_("bitslot"));
|
||||
}
|
||||
else if (type && type->value() == X_("port")) {
|
||||
// PortInsert::set_state() handles the bitslot
|
||||
(*i)->remove_property (X_("bitslot"));
|
||||
(*i)->set_property ("ignore-name", "1");
|
||||
IOProcessor::prepare_for_reset (**i, name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue