From a80190e206ba83c598eb4b0ce0770d8b4f95b568 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 12 Sep 2020 11:52:49 -0400 Subject: [PATCH] Make sure auto-unit dimensions are updated on board load --- pcbnew/pcb_edit_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index e3804097e5..f0e57b640b 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -1033,8 +1033,8 @@ void PCB_EDIT_FRAME::onBoardLoaded() if( GetBoard()->GetDesignSettings().IsLayerEnabled( localSettings.m_ActiveLayer ) ) SetActiveLayer( localSettings.m_ActiveLayer ); - // Update the tracks / vias available sizes list: - ReCreateAuxiliaryToolbar(); + // Updates any auto dimensions and the auxiliary toolbar tracks/via sizes + unitsChangeRefresh(); // Display the loaded board: Zoom_Automatique( false );