Kicad archive project: add missing file extensions (.kicad_mod, .gbrjob) in files to archive filter.

Fixes: lp:1789038
https://bugs.launchpad.net/kicad/+bug/1789038
This commit is contained in:
jean-pierre charras 2018-08-26 13:35:33 +02:00
parent 32d262b0fe
commit 90788a5a72
1 changed files with 9 additions and 4 deletions

View File

@ -135,10 +135,15 @@ void KICAD_MANAGER_FRAME::OnArchiveFiles( wxCommandEvent& event )
{
// List of file extensions to save.
static const wxChar* extentionList[] = {
wxT( "*.sch" ), wxT( "*.lib" ), wxT( "*.mod" ), wxT( "*.cmp" ),
wxT( "*.brd" ), wxT( "*.kicad_pcb" ), wxT( "*.gbr" ), wxT( "*.pos" ),
wxT( "*.net" ), wxT( "*.pro" ), wxT( "*.drl" ), wxT( "*.py" ),
wxT( "*.pdf" ), wxT( "*.txt" ), wxT( "*.dcm" ), wxT( "*.kicad_wks" ),
wxT( "*.pro" ),
wxT( "*.sch" ), wxT( "*.lib" ), wxT( "*.dcm" ), // Schematic related files
wxT( "*.cmp" ),
wxT( "*.brd" ), wxT( "*.kicad_pcb" ), // Brd files
wxT( "*.mod" ), wxT( "*.kicad_mod" ), // fp files
wxT( "*.gbr" ), wxT( "*.gbrjob" ), // Gerber files
wxT( "*.pos" ), wxT( "*.drl" ), // Fab files
wxT( "*.net" ), wxT( "*.py" ),
wxT( "*.pdf" ), wxT( "*.txt" ), wxT( "*.kicad_wks" ),
};
wxString msg;