|
|
@ -38,13 +38,10 @@ PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent, |
|
|
|
PCB_BASE_FRAME( aKiway, aParent, aFrameType, aTitle, aPos, aSize, aStyle, aFrameName ), |
|
|
|
m_rotationAngle( 900 ), m_undoRedoBlocked( false ) |
|
|
|
{ |
|
|
|
static bool oneShot = true; |
|
|
|
|
|
|
|
if( oneShot ) |
|
|
|
if( !GFootprintList.GetCount() ) |
|
|
|
{ |
|
|
|
wxTextFile footprintInfoCache( Prj().GetProjectPath() + "fp-info-cache" ); |
|
|
|
GFootprintList.ReadCacheFromFile( &footprintInfoCache ); |
|
|
|
oneShot = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|