summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index ff82283516..9911370dfc 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -319,8 +319,10 @@ void CPDFSDK_Widget::Synchronize(bool bSynchronizeElse) {
}
}
- if (bSynchronizeElse)
- pWidgetAcc->ProcessValueChanged();
+ if (bSynchronizeElse) {
+ CPDFXFA_Context* context = m_pPageView->GetFormFillEnv()->GetXFAContext();
+ context->GetXFADocView()->ProcessValueChanged(pWidgetAcc);
+ }
}
void CPDFSDK_Widget::SynchronizeXFAValue() {