Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing SetAttributes call when cloning Element #177

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

Dakror
Copy link
Contributor

@Dakror Dakror commented Feb 25, 2021

When calling Element::Clone the default element instancer omits the top-level element's attributes, so I added a manual call to copy the attributes to the clone to make sure they exist.

@mikke89 mikke89 added the enhancement New feature or request label Feb 25, 2021
@mikke89 mikke89 merged commit aa610b0 into mikke89:master Feb 25, 2021
@mikke89
Copy link
Owner

mikke89 commented Feb 25, 2021

Makes sense, thank you!

@Dakror Dakror deleted the missing-clone-attributes branch October 15, 2022 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants