But I initialize the UIDropDownMenuTemplate only when the addon config panel is shown, not before. And on my tests, I didn't open the addon config panel.
I thought that UIPanelButtonTemplate might have the same bad behaviour, so I was looking for a way to create a button without using this template. You think it is still related to the UIDropDownMenuTemplate?
|