Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.Disallow text var references in reference designators.
Fixes https://gitlab.com/kicad/code/kicad/issues/5293
This commit is contained in:
parent
23c8123ac9
commit
a3a36ed4d6
|
@ -170,6 +170,10 @@ bool SCH_FIELD_VALIDATOR::Validate( wxWindow *aParent )
|
|||
|
||||
msg.Printf( fieldCharError, badChars );
|
||||
}
|
||||
else if( m_fieldId == REFERENCE && val.Contains( wxT( "${" ) ) )
|
||||
{
|
||||
msg.Printf( _( "The reference designator cannot contain text variable references" ) );
|
||||
}
|
||||
|
||||
if ( !msg.empty() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue