Eeschema: Prevent block duplicate from disappearing
Duplicate is handled like move/drag but shouldn't mark the original items as moving. This prevents a redraw from drawing the original items. Fixes: lp:1750083 * https://bugs.launchpad.net/kicad/+bug/1750083
This commit is contained in:
parent
c3333d4665
commit
9c532dfada
|
@ -261,7 +261,9 @@ bool SCH_EDIT_FRAME::HandleBlockEnd( wxDC* aDC )
|
|||
{
|
||||
nextcmd = true;
|
||||
GetScreen()->SelectBlockItems();
|
||||
if( block->GetCommand() != BLOCK_DUPLICATE )
|
||||
block->SetFlags( IS_MOVED );
|
||||
|
||||
m_canvas->CallMouseCapture( aDC, wxDefaultPosition, false );
|
||||
m_canvas->SetMouseCaptureCallback( DrawMovingBlockOutlines );
|
||||
m_canvas->CallMouseCapture( aDC, wxDefaultPosition, false );
|
||||
|
|
Loading…
Reference in New Issue