Remove missed check for empty fields.

Fixes https://gitlab.com/kicad/code/kicad/issues/13424
This commit is contained in:
Jeff Young 2023-01-07 19:18:37 +00:00
parent e509fa0fc9
commit 289d9bd6fb
1 changed files with 1 additions and 2 deletions

View File

@ -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 )