summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/backingwindow.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 1e87b42a27a3..08ccff1d73ea 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -551,6 +551,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
{
mpLocalView->Hide();
mpAllRecentThumbnails->Show();
+ mpAllRecentThumbnails->GrabFocus();
}
else if( pButton == mpTemplateButton )
{
@@ -558,6 +559,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
mpCurrentView->filterItems(ViewFilter_Application(FILTER_APP_NONE));
mpLocalView->Show();
mpLocalView->reload();
+ mpLocalView->GrabFocus();
}
return 0;
}
@@ -598,6 +600,7 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton )
mpAllRecentThumbnails->Hide();
mpLocalView->Show();
mpLocalView->reload();
+ mpLocalView->GrabFocus();
return 0;
}