board area fixes (jpc)

This commit is contained in:
jean-pierre charras
2025-06-19 18:26:39 +02:00
parent ea12df80be
commit 01e67d78d6
12 changed files with 39 additions and 24 deletions
+6 -2
View File
@@ -521,8 +521,12 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
if( PCB_BOARD_OUTLINE* outline = board->BoardOutline() )
{
board->UpdateBoardOutline();
view->Update( outline );
}
if( view->HasItem( outline ) )
view->Update( outline );
else
view->Add( outline );
}
}
if( PCBNEW_SETTINGS* cfg = GetAppSettings<PCBNEW_SETTINGS>( "pcbnew" ) )