sfx2/source/control/thumbnailview.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 10dba26804cc0c14f74069c26112e75dacf3865b Author: Roman Kuznetsov <[email protected]> AuthorDate: Sat Apr 25 11:51:33 2020 +0100 Commit: Roman Kuznetsov <[email protected]> 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 <[email protected]> Reviewed-by: Mike Kaganski <[email protected]> Reviewed-by: Roman Kuznetsov <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
