summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/tabdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/tabdlg.cxx')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 57e60136b617..95c844107c56 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -662,7 +662,14 @@ void SfxTabDialog::Start( sal_Bool bShow )
Start_Impl();
if ( bShow )
+ {
Show();
+ }
+ if ( IsVisible() && ( !HasChildPathFocus() || HasFocus() ) )
+ {
+ GrabFocusToFirstControl();
+ }
+
}
// -----------------------------------------------------------------------