summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/SidebarController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.cxx')
-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 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
{