diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 67f8800ed8e0..a352e2b88e68 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -179,6 +179,8 @@ void AccessibleShape::Init() // non-empty text -> use full-fledged edit source right away mpText = new AccessibleTextHelper( o3tl::make_unique<SvxTextEditSource >(*pSdrObject, nullptr, *pView, *pWindow) ); } + if( pWindow->HasFocus() ) + mpText->SetFocus(); if( bOwnParaObj ) delete pOutlinerParaObject; |