Ah, I see. You do the discovery twice, once to decide whether to show any 'Edit'...
I have now tested this with the most exotic configurations, and it works reliably....
Thanks a lot. A prominent example: the modgui [1] Nowadays a lot of plugins define...
This is awesome. I works fine in the majority of cases. However, in the case where...
As I always implement external-ui + showInterface and external-ui precedes showInterface...
You're right, indeed. The bug was in my UIs. Can be closed, sorry for the noise....
non-toolkit UIs with ui:showInterface are not discovered
external-ui is not shown again after hiding it for the first time