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 5713384f35
commit b37c7afa8a
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 ); m_viewControls->WarpMouseCursor( m_menuCursor, true, false );
} }
// Otherwise notify the tool of a cancelled menu // Otherwise notify the tool of a cancelled menu
else
{ {
TOOL_EVENT evt( TC_COMMAND, TA_CHOICE_MENU_CHOICE, -1 ); TOOL_EVENT evt( TC_COMMAND, TA_CHOICE_MENU_CHOICE, -1 );
evt.SetHasPosition( false ); evt.SetHasPosition( false );