From be7215402bcd901a566a55a329f3a2d4133ad56f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 30 Aug 2019 13:31:50 +0100 Subject: [PATCH] Partial cherry-pick of 79d062aefcdeda4305e50a595e69dfca33bbee06. --- pcbnew/tools/picker_tool.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcbnew/tools/picker_tool.cpp b/pcbnew/tools/picker_tool.cpp index 2af3937911..e41e210700 100644 --- a/pcbnew/tools/picker_tool.cpp +++ b/pcbnew/tools/picker_tool.cpp @@ -108,6 +108,11 @@ int PICKER_TOOL::Main( const TOOL_EVENT& aEvent ) break; } + else if( evt->IsDblClick( BUT_LEFT ) || evt->IsDrag( BUT_LEFT ) ) + { + // Not currently used, but we don't want to pass them either. + } + else if( evt->IsClick( BUT_RIGHT ) ) m_menu.ShowContextMenu();