kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40121
Tool actions and hotkeys
I added an action common.Control.zoomRedraw that’s tied to the hotkey HK_ZOOM_REDRAW. I tried to follow the other examples, but I appear to be missing something.
It works fine, but on closing the document (PCB_EDIT_FRAME) I get an assert trying to unregister the action because it doesn’t appear in the TOOL_MANAGER’s m_actionHotKeys list.
Any pointers?
Thanks,
Jeff.
Follow ups