[Libreoffice-commits] core.git: sd/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 26 04:00:57 UTC 2019


 sd/source/ui/view/drtxtob1.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 80f18e7e028e9ca431aef281ab98bea99ad19fa3
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sun Jun 23 16:00:19 2019 -0800
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Wed Jun 26 06:00:04 2019 +0200

    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 at gmail.com>

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;
     }


More information about the Libreoffice-commits mailing list