Give HardReset() a better chance of success.

This commit is contained in:
Jeff Young 2020-07-27 21:55:08 +01:00
parent 97964b2a4c
commit 4479fcc6dc
1 changed files with 2 additions and 0 deletions

View File

@ -457,6 +457,8 @@ void SCH_EDIT_FRAME::SetCurrentSheet( const SCH_SHEET_PATH& aSheet )
void SCH_EDIT_FRAME::HardRedraw()
{
RecalculateConnections( LOCAL_CLEANUP );
FocusOnItem( nullptr );
GetCanvas()->DisplaySheet( GetCurrentSheet().LastScreen() );