| Index: xfa/src/fxfa/src/app/xfa_fftextedit.cpp
|
| diff --git a/xfa/src/fxfa/src/app/xfa_fftextedit.cpp b/xfa/src/fxfa/src/app/xfa_fftextedit.cpp
|
| index 0b5a70170e720d92c92661f253e92fcacc6c41ee..2d2177b67067e31da41e55dccb3d3c125801f651 100644
|
| --- a/xfa/src/fxfa/src/app/xfa_fftextedit.cpp
|
| +++ b/xfa/src/fxfa/src/app/xfa_fftextedit.cpp
|
| @@ -259,6 +259,13 @@ FX_BOOL CXFA_FFTextEdit::UpdateFWLData() {
|
| bUpdate = TRUE;
|
| }
|
| }
|
| + if (m_pDataAcc->GetUIType() == XFA_ELEMENT_Barcode) {
|
| + int32_t nDataLen = 0;
|
| + if (eType == XFA_VALUEPICTURE_Edit)
|
| + m_pDataAcc->GetBarcodeAttribute_DataLength(nDataLen);
|
| + static_cast<CFWL_Edit*>(m_pNormalWidget)->SetLimit(nDataLen);
|
| + bUpdate = TRUE;
|
| + }
|
| CFX_WideString wsText;
|
| m_pDataAcc->GetValue(wsText, eType);
|
| CFX_WideString wsOldText;
|
|
|