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.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 065a23c8e3d4..afdf8724bd91 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -698,6 +698,9 @@ void SfxTabDialog::Start( sal_Bool bShow )
if ( bShow )
Show();
+
+ if ( IsVisible() && ( !HasChildPathFocus() || HasFocus() ) )
+ GrabFocusToFirstControl();
}
// -----------------------------------------------------------------------