Loading
Toggle viewonly mode icon when using keyboard shortcut
Description
Follow on to !2696 (merged). Make sure that the viewonly mode tool button toggles when using keyboard shortcut
Related Issue
#2997 (closed) and !2696 (merged)
Motivation and Context
The viewonly tool button already toggles when clicking but does not when using keyboard shortcut
How Has This Been Tested?
Tested in my environment
Screenshots (if appropriate):
Types of changes
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- My code follows the code style of this project.
- My change requires a change to the documentation.
- I have updated the documentation accordingly.