From a224d8dd6cc0637c72ea0db0bd8e8a0065b1e660 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 28 Nov 2021 19:14:19 +0000 Subject: [PATCH] Disable autoplace fields when dragging/moving. Fixes https://gitlab.com/kicad/code/kicad/issues/9766 --- eeschema/tools/sch_move_tool.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/eeschema/tools/sch_move_tool.cpp b/eeschema/tools/sch_move_tool.cpp index 2b3871f6a7..cb1e5af739 100644 --- a/eeschema/tools/sch_move_tool.cpp +++ b/eeschema/tools/sch_move_tool.cpp @@ -431,12 +431,10 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent ) chain_commands = true; break; } - else if( evt->IsAction( &EE_ACTIONS::rotateCW ) - || evt->IsAction( &EE_ACTIONS::rotateCCW ) - || evt->IsAction( &EE_ACTIONS::mirrorH ) - || evt->IsAction( &EE_ACTIONS::mirrorV ) ) + else if( evt->IsAction( &EE_ACTIONS::autoplaceFields ) ) { - evt->SetPassEvent(); + // Currently this makes a mess when done while moving/dragging, so disable it. + wxBell(); } else if( evt->Action() == TA_CHOICE_MENU_CHOICE ) {