diff --git a/common/tool/action_menu.cpp b/common/tool/action_menu.cpp index 978041c292..c3d92d9865 100644 --- a/common/tool/action_menu.cpp +++ b/common/tool/action_menu.cpp @@ -401,7 +401,7 @@ void ACTION_MENU::OnMenuEvent( wxMenuEvent& aEvent ) #endif // Handling non-action menu entries (e.g. items in clarification list) - if( !evt && m_selected < wxID_LOWEST ) + if( !evt && ( m_selected < wxID_LOWEST || m_selected > wxID_HIGHEST ) ) { menuText = GetLabelText( aEvent.GetId() ); evt = TOOL_EVENT( TC_COMMAND, TA_CONTEXT_MENU_CHOICE, m_selected, AS_GLOBAL,