Hello

When trying to do certain bitwise operations on the object returned by QKeyEvent.modifiers() I get the following error:

TypeError: unsupported operand type(s) for |: 'KeyboardModifiers' and 'int'

Looking at the base class for this object, I see that it is of type 'sip.wrapper', when it should be type 'int'.

Regards
Baz Walter
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to