Fix printable character bug in footprint
Fixes: lp:1754120 * https://bugs.launchpad.net/kicad/+bug/1754120
This commit is contained in:
parent
414e6614f1
commit
85c8648045
|
@ -717,7 +717,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary( wxString activeLibrary, MODUL
|
|||
mainSizer->Prepend( nameTextCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
wxTextValidator nameValidator( wxFILTER_EXCLUDE_CHAR_LIST );
|
||||
nameValidator.SetCharExcludes( MODULE::StringLibNameInvalidChars( true ) );
|
||||
nameValidator.SetCharExcludes( MODULE::StringLibNameInvalidChars( false ) );
|
||||
nameTextCtrl->SetValidator( nameValidator );
|
||||
|
||||
wxStaticText* label = new wxStaticText( &dlg, wxID_ANY, _( "Footprint Name:" ),
|
||||
|
|
Loading…
Reference in New Issue