mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't ask about locking twice.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18679
This commit is contained in:
parent
26130af78c
commit
a9f79093be
@ -1919,7 +1919,7 @@ int EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
||||
},
|
||||
// Prompt user regarding locked items if in board editor and in free-pad-mode (if
|
||||
// we're not in free-pad mode we delay this until the second RequestSelection()).
|
||||
frame()->GetPcbNewSettings()->m_AllowFreePads && !m_isFootprintEditor );
|
||||
!m_dragging && frame()->GetPcbNewSettings()->m_AllowFreePads && !m_isFootprintEditor );
|
||||
|
||||
if( selection.Empty() )
|
||||
return 0;
|
||||
@ -1943,7 +1943,7 @@ int EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
||||
sTool->FilterCollectorForFreePads( aCollector );
|
||||
sTool->FilterCollectorForTableCells( aCollector );
|
||||
},
|
||||
true /* prompt user regarding locked items */ );
|
||||
!m_dragging /* prompt user regarding locked items */ );
|
||||
}
|
||||
|
||||
// Did we filter everything out? If so, don't try to operate further
|
||||
|
Loading…
x
Reference in New Issue
Block a user