From d645c22411cd9ac8ccb77814bcbd83c1d57a9355 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 8 May 2020 23:57:23 +0100 Subject: [PATCH] Allow path separators in the sheet filename validator. Fixes https://gitlab.com/kicad/code/kicad/issues/4374 --- eeschema/sch_validators.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eeschema/sch_validators.cpp b/eeschema/sch_validators.cpp index fe8b99e502..f095370889 100644 --- a/eeschema/sch_validators.cpp +++ b/eeschema/sch_validators.cpp @@ -47,9 +47,7 @@ SCH_FIELD_VALIDATOR::SCH_FIELD_VALIDATOR( bool aIsLibEditor, int aFieldId, wxSt { excludes += " "; } - else if( ( aFieldId == VALUE && m_isLibEditor ) - || aFieldId == SHEETNAME_V - || aFieldId == SHEETFILENAME_V ) + else if( ( aFieldId == VALUE && m_isLibEditor ) || aFieldId == SHEETNAME_V ) { excludes += " :/\\"; }