From 128910c6021db78e4b6ee487ec87334ca292ab43 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 15 Oct 2020 18:42:51 +0100 Subject: [PATCH] Pass unhandled command events from Symbol Editor move tool. Fixes https://gitlab.com/kicad/code/kicad/issues/6015 --- eeschema/tools/lib_move_tool.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eeschema/tools/lib_move_tool.cpp b/eeschema/tools/lib_move_tool.cpp index 3bc386181e..bf580ab28c 100644 --- a/eeschema/tools/lib_move_tool.cpp +++ b/eeschema/tools/lib_move_tool.cpp @@ -239,6 +239,10 @@ int LIB_MOVE_TOOL::Main( const TOOL_EVENT& aEvent ) chain_commands = true; break; } + else + { + evt->SetPassEvent(); + } } //------------------------------------------------------------------------ // Handle context menu @@ -263,7 +267,9 @@ int LIB_MOVE_TOOL::Main( const TOOL_EVENT& aEvent ) break; // Finish } else + { evt->SetPassEvent(); + } } while( ( evt = Wait() ) ); // Assignment intentional; not equality test