Details
Description
I'm trying to make a QAction pass a custom object as it's data, so I can grab it via QWidget.sender().data()
This works just fine for a default object like a dictionary, but not for a custom object that I need to use.
This works fine in PySide 1.0.9 but PySide 1.2.1 always returns None when querying sender().data() from a QAction that has a custom object assigned to it's data.
Here is some sample code that shows the problem:
http://pastebin.com/U0Y7CHw3
Cheers,
frank
_______
Attachments
Issue Links
- relates to
-
PYSIDE-82 API 2 QVariant Issue
- Closed