Value field needs to use the normal text control

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14056
This commit is contained in:
Jon Evans 2023-02-24 22:18:18 -05:00
parent 1f8e9727b0
commit 981bf328ae
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ void DIALOG_FIELD_PROPERTIES::init()
// Predefined fields cannot contain some chars, or cannot be empty,
// and need a SCH_FIELD_VALIDATOR (m_StyledTextCtrl cannot use a SCH_FIELD_VALIDATOR).
bool use_validator = m_fieldId == REFERENCE_FIELD
|| m_fieldId == VALUE_FIELD
|| m_fieldId == FOOTPRINT_FIELD
|| m_fieldId == DATASHEET_FIELD
|| m_fieldId == SHEETNAME_V