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

New commits:
commit 44a40b38d881fd2b9cfbedfc630290d1927fd72f
Author:     Samuel Mehrbrodt <[email protected]>
AuthorDate: Thu Aug 8 16:35:36 2019 +0200
Commit:     Thorsten Behrens <[email protected]>
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 <[email protected]>
    (cherry picked from commit 2812610f4f39ed5892da08864893c758325d1d39)
    Reviewed-on: https://gerrit.libreoffice.org/77327
    Reviewed-by: Thorsten Behrens <[email protected]>
    Tested-by: Thorsten Behrens <[email protected]>

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
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to