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:
Paul Davis 2018-06-28 19:14:37 -04:00
parent 9336bddee2
commit cd0f5e06a9

View file

@ -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);
}
}
}