[PyQt] Can't disconnect <signal>.emit once connected as slot?
Patrick Stinson
patrickkidd at gmail.com
Wed Nov 8 03:40:11 GMT 2017
That was the solution, thank you!
> On Nov 3, 2017, at 8:51 AM, Florian Bruhin <me at the-compiler.org> wrote:
>
> Hey,
>
>> On Thu, Nov 02, 2017 at 04:22:03PM -0700, Patrick Stinson wrote:
>> 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?
>
> I don't know whether this will work better for disconnecting, but note that you
> can simply connect a signal to a signal:
>
> item.eventAdded[Event].connect(self.eventAdded)
>
> Florian
>
> --
> https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
> GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
> I love long mails! | https://email.is-not-s.ms/
More information about the PyQt
mailing list