vcl/source/treelist/svimpbox.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 30fb8cde7579fb5da15c1d8da9611198f2f5ce78
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Feb 9 10:55:18 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Feb 9 11:04:30 2024 +0100

    tdf#159641 TreeView repaint problem with PgUp in kf5/gen
    
    regression from
        commit be53f32655973c7a18824d5145eed992be788d2f
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        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 <m.wegh...@posteo.de>
    Tested-by: Jenkins

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 )
     {

Reply via email to