[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - vcl/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 4 11:40:35 UTC 2019


 vcl/source/control/imp_listbox.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e6ae619a59e9447da84f7f5fed77cbaa9f86edae
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Aug 14 15:18:17 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Nov 4 12:39:57 2019 +0100

    Update listbox after scroll
    
    To show updated content in the Online after scroll.
    
    Change-Id: Ieb58c2a24bfcd76495d7046a0721db789b5c141a
    Reviewed-on: https://gerrit.libreoffice.org/81967
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit d13cda5236596386cfd3ddaf90b0c5a1ae4cc60d)
    Reviewed-on: https://gerrit.libreoffice.org/81990
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>

diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 1d9b246e4d6a..8e2632c518e0 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -2292,6 +2292,8 @@ IMPL_LINK( ImplListBox, ScrollBarHdl, ScrollBar*, pSB, void )
         SetTopEntry( nPos );
     else if( pSB == mpHScrollBar )
         SetLeftIndent( nPos );
+    if( GetParent() )
+        GetParent()->Invalidate( InvalidateFlags::Update );
 }
 
 void ImplListBox::ImplCheckScrollBars()


More information about the Libreoffice-commits mailing list