Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.13.2
-
None
-
-
5b5cb391c (dev)
Description
Hi,
We have noticed a bug on our project with new changes we did while testing PySide2 (instead of PyQt5).
It appears that self.sender() is None in some circonstancies.
I join a small test file (test.py) to reproduce the problem.
Here is the output on my machine:
== Base == __callback OK callback OK == Inherited == __callback ERROR: None callback OK == End ==
As you can see, if we execute the base class directly or the inherited class (which only inherit the base class), the result is not the same.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2144 `QObject.sender()` None if slot is inherited
- Closed