Blender Git Loki
Git Commits -> Revision 1b593ed
Revision 1b593ed by Julian Eisel (master) August 5, 2020, 17:40 (GMT) |
Fix T78907: Renaming file doesn't work while mouse is over file icon The icons are label buttons. Usually these are not editable and can not become active. These are draggable ones though (so dragging files can be dragged by dragging the icon) which creates an exception to this rule. So hovering the icon would activate its label and when executing the rename operator via shortcut it wouldn't get exited properly. This broke the invariant of only allowing a single active button at a time. Added an assert to check that invariant now. Letting the code to activate the text button ensure any currently active button is exited seems sensible. |
Commit Details:
Full Hash: 1b593edf1d898144ee591de0fbd3d1351d16d730
Parent Commit: 38e9a34
Lines Changed: +9, -0