Commit 46d816fd authored by dickelbeck's avatar dickelbeck

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.

parent 5b747663
......@@ -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:" ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment