Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17086
This commit is contained in:
Jeff Young 2024-02-24 20:04:19 +00:00
parent 6bbac26fd3
commit 0078ccea09
1 changed files with 1 additions and 0 deletions

View File

@ -948,6 +948,7 @@ void TOOL_MANAGER::DispatchContextMenu( const TOOL_EVENT& aEvent )
m_viewControls->WarpMouseCursor( m_menuCursor, true, false );
}
// Otherwise notify the tool of a cancelled menu
else
{
TOOL_EVENT evt( TC_COMMAND, TA_CHOICE_MENU_CHOICE, -1 );
evt.SetHasPosition( false );