System Information
Operating system: Win 10
Graphics card: RTX2070
Blender Version
Broken: 2.90, 2.91 alpha
Worked: 2.83.5
Caused by rB608d9b5aa1f1: UI: Add shortcuts for constraint panels
Short description of error
Deleting bone constraints when the armature layer isn't active crashes Blender
Exact steps for others to reproduce the error
The attached file has 2 bones in 1 armature. Bone.001 is constrained to Bone, and the two bones are in separate armature layers. With both layers active, deleting the constraint in Bone.001 works normally. But if layer 16 isn't active, doing the same thing will crash Blender.