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

BUG: Work around broken enums in PySide 1.0.8 #11

Merged
merged 1 commit into from
Oct 27, 2011
Merged

Conversation

pib
Copy link

@pib pib commented Oct 27, 2011

A change was introduced in PySide 1.0.8 which makes enums basically unusable as dictionary keys: http://bugs.pyside.org/show_bug.cgi?id=1033

jdmarch pushed a commit that referenced this pull request Oct 27, 2011
BUG: Work around broken enums in PySide 1.0.8
Application code passes QT objects which were formerly ints but are
now enums, but PySide sometimes returns ints as before.
So we cast all such refs to int before using them.
@jdmarch jdmarch merged commit fe0c42a into master Oct 27, 2011
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