parent
e6e2cf47fd
commit
80fb3bde56
|
@ -49,8 +49,11 @@ PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent,
|
|||
|
||||
PCB_BASE_EDIT_FRAME::~PCB_BASE_EDIT_FRAME()
|
||||
{
|
||||
if( wxFileName::IsDirWritable( Prj().GetProjectPath() ) )
|
||||
{
|
||||
wxTextFile footprintInfoCache( Prj().GetProjectPath() + "fp-info-cache" );
|
||||
GFootprintList.WriteCacheToFile( &footprintInfoCache );
|
||||
}
|
||||
|
||||
GetCanvas()->GetView()->Clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue