Remove normally unused code from Move function.
Fixes https://gitlab.com/kicad/code/kicad/issues/13222
This commit is contained in:
parent
089d8b9cc1
commit
75053cfc57
|
@ -571,16 +571,6 @@ int EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, const wxString& aCommi
|
|||
else if( !m_dragging && !evt->IsAction( &ACTIONS::refreshPreview ) )
|
||||
{
|
||||
// Prepare to start dragging
|
||||
if( !evt->IsAction( &PCB_ACTIONS::move )
|
||||
&& !evt->IsAction( &PCB_ACTIONS::moveWithReference )
|
||||
&& !evt->IsAction( &PCB_ACTIONS::moveIndividually )
|
||||
&& !evt->IsAction( &PCB_ACTIONS::packAndMoveFootprints )
|
||||
&& cfg->m_TrackDragAction != TRACK_DRAG_ACTION::MOVE )
|
||||
{
|
||||
if( invokeInlineRouter( PNS::DM_ANY ) )
|
||||
break;
|
||||
}
|
||||
|
||||
editFrame->HideSolderMask();
|
||||
|
||||
m_dragging = true;
|
||||
|
|
Loading…
Reference in New Issue