Footprint library table work, minor fixes, and code cleaning.
* Fix a bug when full file name and path are passed to FOOTPRINT_INFO:: ReadFootprintFiles() which I created in bug fix lp:593989. * Fix a wxString debug assertion in EDA_APP::InitEDA_Appl() when the KICAD environment variable is defined as an empty string. * Add error dialog when libraries cannot be found in system search path when loading footprint using the select footprint dialog. * Add footprint library name column to the EDA_LIST_DIALOG when selecting footprints from the list. * Allow reading all columns from the selected row in EDA_LIST_DIALOG. * Remove redundant sort from EDA_LIST_DIALOG constructor * Add library name member variable and accessors to FOOTPRINT_INFO. * Make headers translatable for Eeschema select component from list dialog. * Add some helper methods to FPID for identifying the FPID type and validity. * Remove a bunch of trailing whitespace and add missing license comments.
This commit is contained in:
@@ -533,9 +533,10 @@ void DISPLAY_FOOTPRINTS_FRAME::InitDisplay()
|
||||
|
||||
const wxChar *libname;
|
||||
if( module_info )
|
||||
libname = GetChars( module_info->m_LibName );
|
||||
libname = GetChars( module_info->GetLibraryPath() );
|
||||
else
|
||||
libname = GetChars( wxT( "???" ) );
|
||||
|
||||
msg.Printf( _( "Lib: %s" ), libname );
|
||||
|
||||
SetStatusText( msg, 0 );
|
||||
|
||||
Reference in New Issue
Block a user