Correct SHEETNAME validation exclusions which were for SHEETFILENAME.

Fixes https://gitlab.com/kicad/code/kicad/issues/4748
This commit is contained in:
Jeff Young 2020-07-02 17:39:38 +01:00
parent 7e3a338518
commit e91acfb67b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ SCH_FIELD_VALIDATOR::SCH_FIELD_VALIDATOR( bool aIsLibEditor, int aFieldId, wxSt
{
excludes += " ";
}
else if( ( aFieldId == VALUE && m_isLibEditor ) || aFieldId == SHEETNAME_V )
else if( ( aFieldId == VALUE && m_isLibEditor ) || aFieldId == SHEETFILENAME_V )
{
excludes += " :/\\";
}