mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-14 17:19:35 +00:00
Don't delete pin out from under selection & move tools.
Fixes https://gitlab.com/kicad/code/kicad/issues/12610
This commit is contained in:
parent
fa2a36b74e
commit
3cb6a80954
@ -244,7 +244,7 @@ bool SYMBOL_EDITOR_PIN_TOOL::PlacePin( LIB_PIN* aPin )
|
||||
|
||||
if( !status )
|
||||
{
|
||||
if( aPin->IsNew() )
|
||||
if( aPin->IsNew() && !aPin->HasFlag( IS_PASTED ) )
|
||||
delete aPin;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user