From b37c7afa8ad0c7a14d1be7f7aab541204026a5c1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 24 Feb 2024 20:04:19 +0000 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17086 --- common/tool/tool_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/tool/tool_manager.cpp b/common/tool/tool_manager.cpp index 5bdd1b33c5..07b576b7f2 100644 --- a/common/tool/tool_manager.cpp +++ b/common/tool/tool_manager.cpp @@ -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 );