diff options
author | Jim Raykowski <raykowj@gmail.com> | 2019-06-23 16:00:19 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2019-06-26 06:00:04 +0200 |
commit | 80f18e7e028e9ca431aef281ab98bea99ad19fa3 (patch) | |
tree | 603f20ffad31b139522b46b60cfcfec762090c41 /sd | |
parent | 719f4a93e46a6b397356dbb605d2867639ca3942 (diff) |
tdf#50530 Make text edit outliner view show cursor
Change-Id: I73b4dcacdf068daff02b8fe8156c58debfcdf704
Reviewed-on: https://gerrit.libreoffice.org/74613
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drtxtob1.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx index 1b1753d69373..066aa51cd135 100644 --- a/sd/source/ui/view/drtxtob1.cxx +++ b/sd/source/ui/view/drtxtob1.cxx @@ -756,6 +756,12 @@ void TextObjectBar::Execute( SfxRequest &rReq ) // to refresh preview (in outline mode), slot has to be invalidated: mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true ); + + if ( pOLV ) + { + pOLV->ShowCursor(); + pOLV->GetWindow()->GrabFocus(); + } } break; } |