Fixes to some user reports.
Another attempt at fixing some hotkeys sometimes not loading from preferences (particularly when Blender takes long to load I think, eg. when many other add-ons are present) I can't guarantee it's fixed since the issue is hard for me to reproduce, will just have to wait and see user feedback. But I have managed to reproduce it a few times, and after this change it seemed like I stopped being able to. I have a good feeling about this one.
Blender 4.5 Alpha received a patch to allow add-on developers to find the hotkeys we've registered without having to essentially guess and pray. The add-on now uses this new API, but this is of course only possible when the Blender version is 4.5 or greater. This should hopefully fix issues some users have been running into. Prior versions of Blender will have no changes from this update.
If you'd like to help test the latest nightly build of Blender, you can always do so here.
Fix enable state of hotkeys not getting saved
I have disabled automatic saving of hotkey preferences for now, since this would sometimes result in corrupting. Save manually for now. Awaiting Blender-side changes for long term solution.
Loading still happens automatically on start-up.
(So when you enable mouse dragging to invoke an operator, but invoke it without mouse dragging, it should now correctly fall back to the operator whose shortcut is bound to just pressing the key combo.)
Hotfix issue #78: Error causing potential loss of hotkey customizations.
Minor polish: