summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 1c02f63a41e6..fe24d5523ad8 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -74,7 +74,10 @@ void SidebarDockingWindow::DoDispose()
void SidebarDockingWindow::GetFocus()
{
if (mpSidebarController.is())
+ {
+ mpSidebarController->RequestOpenDeck();
mpSidebarController->GetFocusManager().GrabFocus();
+ }
else
SfxDockingWindow::GetFocus();
}