sw/source/uibase/uiview/viewmdi.cxx |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 6b6a3547990eede6a2213b5a82bedd88a919563f
Author: Jim Raykowski <rayk...@gmail.com>
Date:   Sun Feb 25 09:13:41 2018 -0900

    tdf#115329 Fix Navigate By Table after Navigate By Drawing or Control
    
    Change-Id: I2068d5d9c0ccebc83834d4db5a40225c972829ff
    Reviewed-on: https://gerrit.libreoffice.org/50315
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/sw/source/uibase/uiview/viewmdi.cxx 
b/sw/source/uibase/uiview/viewmdi.cxx
index 22c9cda6af0d..1abdd08429ad 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -349,10 +349,17 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void )
         break;
         case NID_DRW :
         case NID_CTRL:
-            rSh.GotoObj(bNext,
+        {
+            bool bSuccess = rSh.GotoObj(bNext,
                     m_nMoveType == NID_DRW ?
                         GotoObjFlags::DrawSimple :
                         GotoObjFlags::DrawControl);
+            if(bSuccess)
+            {
+                rSh.HideCursor();
+                rSh.EnterSelFrameMode();
+            }
+        }
         break;
         case NID_REG :
             rSh.EnterStdMode();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to