Commit 46d816fd authored by dickelbeck's avatar dickelbeck
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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:" ),