From 30fb8cde7579fb5da15c1d8da9611198f2f5ce78 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 9 Feb 2024 10:55:18 +0200 Subject: tdf#159641 TreeView repaint problem with PgUp in kf5/gen regression from commit be53f32655973c7a18824d5145eed992be788d2f Author: Noel Grandin Date: Thu Mar 12 13:55:55 2020 +0200 rename vcl::Window::Update to PaintImmediately Change-Id: I74fc87e984e1f085d2351cbae033e51920608e3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163154 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- vcl/source/treelist/svimpbox.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/source') diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index 0deea8f69820..66c697e8afd8 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -387,6 +387,7 @@ void SvImpLBox::PageDown( sal_uInt16 nDelta ) ShowCursor( false ); m_nFlags &= ~LBoxFlags::Filling; + m_pView->PaintImmediately(); m_pStartEntry = pNext; if( nRealDelta >= m_nVisibleCount ) @@ -424,6 +425,7 @@ void SvImpLBox::PageUp( sal_uInt16 nDelta ) m_nFlags &= ~LBoxFlags::Filling; ShowCursor( false ); + m_pView->PaintImmediately(); m_pStartEntry = pPrev; if( nRealDelta >= m_nVisibleCount ) { -- cgit