Skip to content

Don't re-assign Qt.MouseButton.MiddleButton on PySide6#374

Merged
dalthviz merged 1 commit intospyder-ide:masterfrom
astrofrog:fix-reassign-members
Oct 17, 2022
Merged

Don't re-assign Qt.MouseButton.MiddleButton on PySide6#374
dalthviz merged 1 commit intospyder-ide:masterfrom
astrofrog:fix-reassign-members

Conversation

@astrofrog
Copy link
Copy Markdown
Contributor

@astrofrog astrofrog commented Oct 16, 2022

I think this isn't needed, at least Qt.MouseButton.MiddleButton seems to exist with PySide6 6.2, 6.3, and 6.4. In 6.4 re-assigning this leads to an actual error.

Fixes #373

Copy link
Copy Markdown
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

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

Thanks @astrofrog for the help with this! LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PySide6 6.4.0 support - AttributeError: Cannot reassign members when aliasing enum values

3 participants