Handle RepeatLastItem for TwoClickPlace items.
(Note that we've always excluded sheet pins from RepeatLastItem.) Fixes https://gitlab.com/kicad/code/kicad/-/issues/15108
This commit is contained in:
parent
bdaad32dc8
commit
5aed30ac79
|
@ -1405,6 +1405,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_frame->SaveCopyForRepeatItem( item );
|
||||||
m_frame->AddToScreen( item, m_frame->GetScreen() );
|
m_frame->AddToScreen( item, m_frame->GetScreen() );
|
||||||
commit.Added( item, m_frame->GetScreen() );
|
commit.Added( item, m_frame->GetScreen() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue