I was planning to have a “pop-up” menu when a button (operator) is pressed.
It’s implemented under two scenario
- On a panel (it works): https://bit.ly/3iujw4V
- On a pop-up simple menu (it doesn’t). Yes, a pop-up within a pop-up. : https://bit.ly/3ivKLMm
You can see #1 in action here: (expected behavior)
You can see #2 in action here: (i.e. nothign happens. no popup)
The code are exactly the same, as you can see in the link above. With the difference that one is a panel and other pop-up menu.
Is there a way around this?
Credits to Darkfall (Youtube) for the sample code.