Gerbview: drill file dialog selector: add .nc and .xnc to drill file extension list.
Therefore file extension list is ".drl .nc .xnc" for NC (Excellon) drill files.
This commit is contained in:
parent
f1c1c5db3f
commit
d546fce7c4
|
@ -227,7 +227,10 @@ wxString ComponentFileWildcard()
|
||||||
// Wildcard for reports and fabrication documents
|
// Wildcard for reports and fabrication documents
|
||||||
wxString DrillFileWildcard()
|
wxString DrillFileWildcard()
|
||||||
{
|
{
|
||||||
return _( "Drill files (*.drl)|*." ) + FormatWildcardExt( "drl" );
|
//return _( "Drill files (*.drl)|*." ) + FormatWildcardExt( "drl" );
|
||||||
|
return _( "Drill files (*.drl *.nc *.xnc)|*." ) + FormatWildcardExt( "drl" )
|
||||||
|
+ ";*." + FormatWildcardExt( "nc" )
|
||||||
|
+ ";*." + FormatWildcardExt( "xnc" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ void GERBVIEW_FRAME::Files_io( wxCommandEvent& event )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG( wxT( "File_io: unexpected command id" ) );
|
wxFAIL_MSG( "File_io: unexpected command id" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue