diff options
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fwl/cfwl_scrollbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_scrollbar.cpp b/xfa/fwl/cfwl_scrollbar.cpp index f723124e86..a65d04e1a4 100644 --- a/xfa/fwl/cfwl_scrollbar.cpp +++ b/xfa/fwl/cfwl_scrollbar.cpp @@ -385,7 +385,8 @@ void CFWL_ScrollBar::OnLButtonDown(const CFX_PointF& point) { } void CFWL_ScrollBar::OnLButtonUp(const CFX_PointF& point) { - m_pTimerInfo->StopTimer(); + if (m_pTimerInfo) + m_pTimerInfo->StopTimer(); m_bMouseDown = false; DoMouseUp(0, m_rtMinBtn, m_iMinButtonState, point); DoMouseUp(1, m_rtThumb, m_iThumbButtonState, point); |