mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
parent
e6e2cf47fd
commit
80fb3bde56
@ -48,9 +48,12 @@ PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
PCB_BASE_EDIT_FRAME::~PCB_BASE_EDIT_FRAME()
|
PCB_BASE_EDIT_FRAME::~PCB_BASE_EDIT_FRAME()
|
||||||
|
{
|
||||||
|
if( wxFileName::IsDirWritable( Prj().GetProjectPath() ) )
|
||||||
{
|
{
|
||||||
wxTextFile footprintInfoCache( Prj().GetProjectPath() + "fp-info-cache" );
|
wxTextFile footprintInfoCache( Prj().GetProjectPath() + "fp-info-cache" );
|
||||||
GFootprintList.WriteCacheToFile( &footprintInfoCache );
|
GFootprintList.WriteCacheToFile( &footprintInfoCache );
|
||||||
|
}
|
||||||
|
|
||||||
GetCanvas()->GetView()->Clear();
|
GetCanvas()->GetView()->Clear();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user