[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sd/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 17 12:30:08 UTC 2020


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

New commits:
commit 9b4ffa3a111dd91842ae53e74454f0c752ba4ffe
Author:     Jim Raykowski <raykowj at gmail..com>
AuthorDate: Sat Dec 28 21:20:05 2019 -0900
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Fri Jan 17 13:29:08 2020 +0100

    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 at gmail.com>
    (cherry picked from commit 1840ed1ede481d28c1a75e2767357866f6f1c55a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86957
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 53f5e4ce8114..01b30cbe35ff 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -755,16 +755,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 );


More information about the Libreoffice-commits mailing list