eeschema: fix disappearing graphics when block move is aborted after rotation/flipping
Fixes: lp:1809444 * https://bugs.launchpad.net/kicad/+bug/1809444
This commit is contained in:
parent
ef2af9145e
commit
6afb082a08
|
@ -351,6 +351,9 @@ bool SCH_EDIT_FRAME::HandleBlockEnd( wxDC* aDC )
|
||||||
// We set the dangling ends to the block-scope, so we must set them back to
|
// We set the dangling ends to the block-scope, so we must set them back to
|
||||||
// schematic-scope.
|
// schematic-scope.
|
||||||
TestDanglingEnds();
|
TestDanglingEnds();
|
||||||
|
|
||||||
|
view->ShowSelectionArea( false );
|
||||||
|
view->ClearHiddenFlags();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !nextcmd )
|
if( !nextcmd )
|
||||||
|
@ -363,6 +366,7 @@ bool SCH_EDIT_FRAME::HandleBlockEnd( wxDC* aDC )
|
||||||
}
|
}
|
||||||
|
|
||||||
view->ShowSelectionArea( false );
|
view->ShowSelectionArea( false );
|
||||||
|
view->ClearPreview();
|
||||||
view->ShowPreview( nextcmd );
|
view->ShowPreview( nextcmd );
|
||||||
|
|
||||||
return nextcmd;
|
return nextcmd;
|
||||||
|
|
Loading…
Reference in New Issue