Disable autoplace fields when dragging/moving.

Fixes https://gitlab.com/kicad/code/kicad/issues/9766
This commit is contained in:
Jeff Young 2021-11-28 19:14:19 +00:00
parent 9bb370e6b4
commit a224d8dd6c
1 changed files with 3 additions and 5 deletions

View File

@ -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 )
{