diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffnumericedit.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffnumericedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffnumericedit.cpp b/xfa/fxfa/cxfa_ffnumericedit.cpp index f6199561a4..8f020351c2 100644 --- a/xfa/fxfa/cxfa_ffnumericedit.cpp +++ b/xfa/fxfa/cxfa_ffnumericedit.cpp @@ -61,7 +61,7 @@ void CXFA_FFNumericEdit::UpdateWidgetProperty() { pWidget->SetLimit(iNumCells); } dwExtendedStyle |= GetAlignment(); - if (m_pDataAcc->GetAccess() != XFA_ATTRIBUTEENUM_Open || + if (!m_pDataAcc->IsOpenAccess() || !m_pDataAcc->GetDoc()->GetXFADoc()->IsInteractive()) { dwExtendedStyle |= FWL_STYLEEXT_EDT_ReadOnly; } |