Browse Source

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.
pull/1/head
dickelbeck 17 years ago
parent
commit
46d816fd4d
  1. 2
      eeschema/netlist_control.cpp

2
eeschema/netlist_control.cpp

@ -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…
Cancel
Save