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

Set tag for MenuBar #188

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Set tag for MenuBar #188

merged 1 commit into from
Oct 5, 2023

Conversation

dave-wathen
Copy link
Contributor

If MenuBar replaces a different (stateless) widget in the view for an application it causes a downcast error because the state is never initialised correctly: since tag() is not implemented for it, diff() gets called instead of state()/children().

Copy link
Collaborator

@genusistimelord genusistimelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good thank you.

@dave-wathen dave-wathen closed this Oct 5, 2023
@genusistimelord
Copy link
Collaborator

you closed it before i could merge it?

@genusistimelord genusistimelord merged commit 0c0416c into iced-rs:main Oct 5, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants