Loading common/fp_lib_table.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -780,8 +780,7 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable ) throw (IO_ERROR, PARS // Attempt to copy the default global file table from the KiCad template folder to // Attempt to copy the default global file table from the KiCad template folder to // the users home configuration path. // the users home configuration path. wxString fileName( wxT( "fp_global_table" ) ); wxString fileName = wxGetApp().FindLibraryPath( defaultFileName ); fileName = wxGetApp().FindLibraryPath( fileName ); // The fallback is to create an empty global footprint table for the user to populate. // The fallback is to create an empty global footprint table for the user to populate. if( fileName.IsEmpty() || !::wxCopyFile( fileName, fn.GetFullPath(), false ) ) if( fileName.IsEmpty() || !::wxCopyFile( fileName, fn.GetFullPath(), false ) ) Loading Loading
common/fp_lib_table.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -780,8 +780,7 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable ) throw (IO_ERROR, PARS // Attempt to copy the default global file table from the KiCad template folder to // Attempt to copy the default global file table from the KiCad template folder to // the users home configuration path. // the users home configuration path. wxString fileName( wxT( "fp_global_table" ) ); wxString fileName = wxGetApp().FindLibraryPath( defaultFileName ); fileName = wxGetApp().FindLibraryPath( fileName ); // The fallback is to create an empty global footprint table for the user to populate. // The fallback is to create an empty global footprint table for the user to populate. if( fileName.IsEmpty() || !::wxCopyFile( fileName, fn.GetFullPath(), false ) ) if( fileName.IsEmpty() || !::wxCopyFile( fileName, fn.GetFullPath(), false ) ) Loading