From 53204e097a19b479ee5b4e47242ff741c0da6b2a Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 8 Aug 2017 16:46:20 +0200 Subject: [PATCH] Reenable pad enumeration by clicking Fixes: lp:1708231 * https://bugs.launchpad.net/kicad/+bug/1708231 --- pcbnew/tools/module_editor_tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/module_editor_tools.cpp b/pcbnew/tools/module_editor_tools.cpp index cf1c7a2979..01c825780c 100644 --- a/pcbnew/tools/module_editor_tools.cpp +++ b/pcbnew/tools/module_editor_tools.cpp @@ -164,7 +164,7 @@ int MODULE_EDITOR_TOOLS::EnumeratePads( const TOOL_EVENT& aEvent ) while( OPT_TOOL_EVENT evt = Wait() ) { - if( evt->IsDrag( BUT_LEFT ) ) + if( evt->IsDrag( BUT_LEFT ) || evt->IsClick( BUT_LEFT ) ) { selectedPads.clear(); VECTOR2I cursorPos = getViewControls()->GetCursorPosition();