Fix broken CvPcb footprint preview. (fixes lp:1226272)

This commit is contained in:
Wayne Stambaugh 2013-09-16 19:56:45 -04:00
parent ce409e3699
commit 7de43e4aec
1 changed files with 4 additions and 1 deletions

View File

@ -476,7 +476,7 @@ EDA_COLOR_T DISPLAY_FOOTPRINTS_FRAME::GetGridColor() const
MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
{
MODULE* footprint;
MODULE* footprint = NULL;
try
{
@ -550,6 +550,9 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
}
footprint = pi->FootprintLoad( libPath, aFootprintName );
if( footprint != NULL )
break;
}
#endif
}