summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-12-28 21:20:05 -0900
committerJim Raykowski <raykowj@gmail.com>2020-01-16 08:01:46 +0100
commit1840ed1ede481d28c1a75e2767357866f6f1c55a (patch)
tree408bd110cf651ff69b67b85f75a43edb01e912bb /sd
parent1fc10944c9964e24361ea8ef87064a21446db571 (diff)
tdf#129680 Make text edit outliner view show cursor
Better placement of tdf#50530 fix 80f18e7e028e9ca431aef281ab98bea99ad19fa3 Change-Id: If6a83d94ebd52ada34d800f8270fa82b4260fdbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86099 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drtxtob1.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 65a357e33563..efb60baf216a 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -815,16 +815,16 @@ 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;
}
+ if ( pOLV )
+ {
+ pOLV->ShowCursor();
+ pOLV->GetWindow()->GrabFocus();
+ }
+
Invalidate( SID_OUTLINE_LEFT );
Invalidate( SID_OUTLINE_RIGHT );
Invalidate( SID_OUTLINE_UP );