[Libreoffice-commits] core.git: sfx2/source

Roman Kuznetsov (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 25 12:08:41 UTC 2020


 sfx2/source/control/thumbnailview.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 10dba26804cc0c14f74069c26112e75dacf3865b
Author:     Roman Kuznetsov <antilibreoffice at gmail.com>
AuthorDate: Sat Apr 25 11:51:33 2020 +0100
Commit:     Roman Kuznetsov <antilibreoffice at gmail.com>
CommitDate: Sat Apr 25 14:08:07 2020 +0200

    tdf#91818 disable scrollbar in Start Center when it isn't needed
    
    Change-Id: Ib3b7be6dd93a7f1c75f01ffe53ff7f7c19b14342
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92773
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Roman Kuznetsov <antilibreoffice at gmail.com>

diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index f3488e417f84..61a7d8f0ba35 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -396,6 +396,7 @@ void ThumbnailView::CalculateItemPositions (bool bScrollBarUsed)
             nPageSize = 1;
         mpScrBar->SetPageSize( nPageSize );
         mpScrBar->Show( mbScroll );
+        mpScrBar->Enable( mbScroll );
     }
 
     // delete ScrollBar


More information about the Libreoffice-commits mailing list