Browse Source
Remembering the menu in the tool dispatcher can lead to stale pointers if we never receive the required menu open or close events. Since wx 3.1.3, we get a valid menu object for all three events, so just forward the event to that menu unconditionally if the menu is one of our ACTION_MENUs. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16844newinvert
2 changed files with 18 additions and 14 deletions
Loading…
Reference in new issue