kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40122
Re: Tool actions and hotkeys
Never mind; I found it.
PCBNew already had two commands sharing the same hotkey (Redraw and Place Relative). Evidently that’s benign as long as the loser doesn’t have an action, but produces an assert when it does.
> On 11 Apr 2019, at 23:14, Jeff Young <jeff@xxxxxxxxx> wrote:
>
> 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.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References