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

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 07:59:09 UTC 2019


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

New commits:
commit 4a7d0b87373530d15deb2a5789841940ace31ea1
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Aug 8 16:35:36 2019 +0200
Commit:     Xisco FaulĂ­ <xiscofauli at libreoffice.org>
CommitDate: Mon Aug 12 09:58:27 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/77325
    Reviewed-by: Xisco FaulĂ­ <xiscofauli at libreoffice.org>

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index fce4732706b5..54bfe433eec9 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -406,7 +406,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