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:
parent
5b74766316
commit
46d816fd4d
|
@ -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:" ),
|
||||
|
|
Loading…
Reference in New Issue