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

New commits:
commit e6ae619a59e9447da84f7f5fed77cbaa9f86edae
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Wed Aug 14 15:18:17 2019 +0200
Commit:     Szymon Kłos <szymon.k...@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.k...@collabora.com>
    (cherry picked from commit d13cda5236596386cfd3ddaf90b0c5a1ae4cc60d)
    Reviewed-on: https://gerrit.libreoffice.org/81990
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to