[PyQt] Can't disconnect <signal>.emit once connected as slot?
Patrick Stinson
patrickkidd at gmail.com
Thu Nov 2 23:22:03 GMT 2017
I am connecting one signal to another via the second signal’s , and then later on trying to disconnect it with a similar call but using disconnect. But I get the following error, any explanation why?
Thanks!@
item.eventAdded[Event].disconnect(self.eventAdded.emit)
TypeError: 'builtin_function_or_method' object is not connected
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171102/84a2afb7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171102/84a2afb7/attachment.bin>
More information about the PyQt
mailing list