[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - sfx2/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 13 09:03:56 UTC 2019


 sfx2/source/sidebar/SidebarController.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 44a40b38d881fd2b9cfbedfc630290d1927fd72f
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Aug 8 16:35:36 2019 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Tue Aug 13 11:03:22 2019 +0200

    tdf#126769 Sidebar can't be collapsed clicking on the hide arrow
    
    Change-Id: I72ab41fb6c98ab548a1b3cfce837ab9312c7df66
    Reviewed-on: https://gerrit.libreoffice.org/77156
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    (cherry picked from commit 2812610f4f39ed5892da08864893c758325d1d39)
    Reviewed-on: https://gerrit.libreoffice.org/77327
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index bcc015306f90..0b3e8cbed671 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -416,7 +416,8 @@ void SidebarController::ProcessNewWidth (const sal_Int32 nNewWidth)
      {
         // Deck became large enough to be shown.  Show it.
         mnSavedSidebarWidth = nNewWidth;
-        RequestOpenDeck();
+        if (!mbIsDeckOpen.get())
+            RequestOpenDeck();
     }
     else
     {


More information about the Libreoffice-commits mailing list