Don't start a pack&move when already in an EDIT_TOOL drag or move.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15545
(cherry picked from commit a24a8aaca7
)
This commit is contained in:
parent
f88dce1627
commit
242413a334
|
@ -190,6 +190,12 @@ int EDIT_TOOL::Swap( const TOOL_EVENT& aEvent )
|
|||
|
||||
int EDIT_TOOL::PackAndMoveFootprints( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
if( isRouterActive() || m_dragging )
|
||||
{
|
||||
wxBell();
|
||||
return 0;
|
||||
}
|
||||
|
||||
PCB_SELECTION& selection = m_selectionTool->RequestSelection(
|
||||
[]( const VECTOR2I& aPt, GENERAL_COLLECTOR& aCollector, PCB_SELECTION_TOOL* sTool )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue