summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-08 16:35:36 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2019-08-12 09:59:40 +0200
commit379f36ab612ae8219df0813c60df7e52d71ca62d (patch)
tree98e98a690a8537554e4b935bf188c2f4cbba68f1 /sfx2
parent4cce3278dd3f4f882e622aaf0d219063cbae9767 (diff)
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@cib.de> (cherry picked from commit 2812610f4f39ed5892da08864893c758325d1d39) Reviewed-on: https://gerrit.libreoffice.org/77326 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 3e1d6c477224..8142297c56f0 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -420,7 +420,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
{