From 226059723611646fb0c6744a93eaa33537703f9b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 6 Dec 2020 13:31:08 +0000 Subject: [PATCH] Fix more accidental event capturing. Fixes https://gitlab.com/kicad/code/kicad/issues/5844 --- pcbnew/tools/pcb_tool_base.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/tools/pcb_tool_base.cpp b/pcbnew/tools/pcb_tool_base.cpp index 9f984f919b..48f0f59ac7 100644 --- a/pcbnew/tools/pcb_tool_base.cpp +++ b/pcbnew/tools/pcb_tool_base.cpp @@ -230,6 +230,10 @@ void PCB_TOOL_BASE::doInteractiveItemPlacement( const std::string& aTool, aPlacer->SnapItem( newItem.get() ); view()->Update( &preview ); } + else + { + evt->SetPassEvent(); + } } else if( newItem && evt->IsMotion() ) {