summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2019-06-23 16:00:19 -0800
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2019-07-04 10:50:22 +0200
commitf8ba3e24a48752414c5f69faec7d71ba387e1441 (patch)
treeacc87bb54b83fd09c4be0b9c043abb41f26d8ed5
parentb1aba2721848c2d384bb33627568cdff96f30bac (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> (cherry picked from commit 80f18e7e028e9ca431aef281ab98bea99ad19fa3) Reviewed-on: https://gerrit.libreoffice.org/75048 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
-rw-r--r--sd/source/ui/view/drtxtob1.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index fb89f6290d6f..53f5e4ce8114 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -755,6 +755,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;
}