[Zotero 7 Beta] Plugin: addToMainWindow not called for some windows

Because of this line:

https://github.com/zotero/zotero/blob/eeece86b4eab9c105f49011fee1ec213cba436c0/chrome/content/zotero/xpcom/plugins.js#L76

Windows like preferences don't trigger the addin. While it is possible to work around this by using Services.wm.addListener it does add a bit of extra complexity to my addin.

Thank you
Sign In or Register to comment.