Blender Git Loki
Git Commits -> Revision 36e3847
Revision 36e3847 by Julian Eisel (master) May 12, 2020, 18:40 (GMT) |
Fix T76635: Clicking the text button X in a pop-up doesn't clear In this case giving `CTX_wm_menu()` priority over `CTX_wm_region()` is all that's needed and makes sense (since we want exactly the hovered button, not some other active button in the region/menu hierarchy). The situation with pop-ups is still tricky, see T73565. But as a first step it's probably good to let functions be more explicit about what they want when querying UI context. So I added a variation of a UI-context function for cases like this. |
Commit Details:
Full Hash: 36e3847093546232db3f16da9189ab7f30207126
Parent Commit: fc59feb
Lines Changed: +14, -2