bug This seems to be a bug in the wxWidgets library or the Mac OS X's file

globbing handler. There should be no reason the mask cannot have two '*'s
in it.

The wildcard part of the mask component should be discarded when the user
picks an actual file. For now, we work around this bug by removing the
2nd mask.
This commit is contained in:
dickelbeck 2009-02-09 15:33:43 +00:00
parent 5b74766316
commit 46d816fd4d
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ void WinEDA_NetlistFrame::GenNetlist( wxCommandEvent& event )
break;
}
Mask = wxT( "*" ) + FileExt + wxT( "*" );
Mask = wxT( "*" ) + FileExt;
ChangeFileNameExt( FullFileName, FileExt );
FullFileName = FullFileName.AfterLast( '/' );
FullFileName = EDA_FileSelector( _( "Netlist files:" ),