sw/source/uibase/uiview/viewmdi.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit f91603a983d4e109983d4f976786ac794e63e547 Author: Jim Raykowski <[email protected]> AuthorDate: Thu Apr 11 23:13:30 2019 -0800 Commit: Jim Raykowski <[email protected]> CommitDate: Wed Apr 17 04:37:14 2019 +0200 tdf#115600 Turn design mode on to Navigate by Control Navigate by Control only works in design mode so turn design mode on when Navigate by Previous or Next Control button is pressed. Change-Id: I26a565758672c8dd1ec8bf979b199e8b240424e3 Reviewed-on: https://gerrit.libreoffice.org/70644 Tested-by: Jenkins Reviewed-by: Jim Raykowski <[email protected]> diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx index bff30a24443d..dc6b53d2fc92 100644 --- a/sw/source/uibase/uiview/viewmdi.cxx +++ b/sw/source/uibase/uiview/viewmdi.cxx @@ -401,8 +401,11 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void ) } } break; - case NID_DRW : case NID_CTRL: + if (!rSh.GetView().IsDesignMode()) + rSh.GetView().GetFormShell()->SetDesignMode(true); + [[fallthrough]]; + case NID_DRW: { bool bSuccess = rSh.GotoObj(bNext, m_nMoveType == NID_DRW ? _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
