summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpushbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffpushbutton.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp
index 648a2298a3..295422dcf3 100644
--- a/xfa/fxfa/cxfa_ffpushbutton.cpp
+++ b/xfa/fxfa/cxfa_ffpushbutton.cpp
@@ -93,6 +93,7 @@ void CXFA_FFPushButton::UnloadWidget() {
m_pDownTextLayout.reset();
m_pRollProvider.reset();
m_pDownProvider.reset();
+ m_pOldDelegate = nullptr;
CXFA_FFField::UnloadWidget();
}