Blender Git Commit Log
Git Commits -> Revision 10590b0
Revision 10590b0 by Julian Eisel (master) August 3, 2020, 16:26 (GMT) |
Fix missing shortcut indicators and crash on shortcut change Fixes T78346. The shortcut display and change code is context sensitive. To make it work correctly the context needs to be set properly. When executing operators from the dropdowns, the active region is the header, but the shortcut handlers are set for the main region. So make sure that is used instead. This also sets the main region active for context menu operators, where this issue shouldn't be present. Doing it anyway shouldn't hurt though and fixes this issue in case somebody displays the context menu in the header as dropdown too. |
Commit Details:
Full Hash: 10590b0500c95d124d00f95e5eefbc7107e3ba5e
Parent Commit: 3593dff
Lines Changed: +12, -12