Make sure auto-unit dimensions are updated on board load

This commit is contained in:
Jon Evans 2020-09-12 11:52:49 -04:00
parent 3940e20fcb
commit a80190e206
1 changed files with 2 additions and 2 deletions

View File

@ -1033,8 +1033,8 @@ void PCB_EDIT_FRAME::onBoardLoaded()
if( GetBoard()->GetDesignSettings().IsLayerEnabled( localSettings.m_ActiveLayer ) ) if( GetBoard()->GetDesignSettings().IsLayerEnabled( localSettings.m_ActiveLayer ) )
SetActiveLayer( localSettings.m_ActiveLayer ); SetActiveLayer( localSettings.m_ActiveLayer );
// Update the tracks / vias available sizes list: // Updates any auto dimensions and the auxiliary toolbar tracks/via sizes
ReCreateAuxiliaryToolbar(); unitsChangeRefresh();
// Display the loaded board: // Display the loaded board:
Zoom_Automatique( false ); Zoom_Automatique( false );