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:58:27 +0200
commit4a7d0b87373530d15deb2a5789841940ace31ea1 (patch)
tree0b2720b09d99fe844203857767f13f6e727d75b1 /sfx2
parentfbcaaaab0603825b31c4679d4713c0b3530c5dec (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/77325 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 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
{