From c9fd03202a45121877e17463a08e55f93e6460bd Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 4 Sep 2023 11:12:20 +0100 Subject: [PATCH] Generate an immediate refresh when loading new footprint. --- pcbnew/footprint_preview_panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/footprint_preview_panel.cpp b/pcbnew/footprint_preview_panel.cpp index 19f6d3d4cb..e96a49fa49 100644 --- a/pcbnew/footprint_preview_panel.cpp +++ b/pcbnew/footprint_preview_panel.cpp @@ -183,7 +183,7 @@ bool FOOTPRINT_PREVIEW_PANEL::DisplayFootprint( const LIB_ID& aFPID ) fitToCurrentFootprint(); } - Refresh(); + ForceRefresh(); return m_currentFootprint != nullptr; }