Generate an immediate refresh when loading new footprint.

This commit is contained in:
Jeff Young 2023-09-04 11:12:20 +01:00
parent 4eb51be0a2
commit c9fd03202a
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ bool FOOTPRINT_PREVIEW_PANEL::DisplayFootprint( const LIB_ID& aFPID )
fitToCurrentFootprint(); fitToCurrentFootprint();
} }
Refresh(); ForceRefresh();
return m_currentFootprint != nullptr; return m_currentFootprint != nullptr;
} }