View Single Post
Old 08-22-2012, 07:29 AM   #495
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,488
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I would think that the code you used would disconnect everything, even other plugins.

I suggest that you connect the signal to a method in your base plugin that cannot go away. That method would route the signal to where ever it needs to go by directly calling the appropriate method(s). I assume that your plugin can tell what dialogs are open or not, and therefore where the signals should go. The signals are run on the GUI thread, in case that matters to you.
chaley is offline   Reply With Quote