mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Remove missed check for empty fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/13424
This commit is contained in:
parent
e509fa0fc9
commit
289d9bd6fb
@ -57,9 +57,8 @@ SCH_FIELD_VALIDATOR::SCH_FIELD_VALIDATOR( bool aIsLibEditor, int aFieldId, wxSt
|
||||
|
||||
long style = GetStyle();
|
||||
|
||||
// The reference, value sheetname and sheetfilename fields cannot be empty.
|
||||
// The reference, sheetname and sheetfilename fields cannot be empty.
|
||||
if( aFieldId == REFERENCE_FIELD
|
||||
|| aFieldId == VALUE_FIELD
|
||||
|| aFieldId == SHEETNAME_V
|
||||
|| aFieldId == SHEETFILENAME_V
|
||||
|| aFieldId == FIELD_NAME )
|
||||
|
Loading…
x
Reference in New Issue
Block a user