Allow path separators in the sheet filename validator.
Fixes https://gitlab.com/kicad/code/kicad/issues/4374
This commit is contained in:
parent
acfa15c3d3
commit
d645c22411
|
@ -47,9 +47,7 @@ SCH_FIELD_VALIDATOR::SCH_FIELD_VALIDATOR( bool aIsLibEditor, int aFieldId, wxSt
|
||||||
{
|
{
|
||||||
excludes += " ";
|
excludes += " ";
|
||||||
}
|
}
|
||||||
else if( ( aFieldId == VALUE && m_isLibEditor )
|
else if( ( aFieldId == VALUE && m_isLibEditor ) || aFieldId == SHEETNAME_V )
|
||||||
|| aFieldId == SHEETNAME_V
|
|
||||||
|| aFieldId == SHEETFILENAME_V )
|
|
||||||
{
|
{
|
||||||
excludes += " :/\\";
|
excludes += " :/\\";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue