Kaydet (Commit) e4b76246 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Thorsten Behrens

tdf#115880 end drawview text editing on move navigation

and leave draw mode

This fix provides a bonous fix for incorrect behaviour of Table move when
a Drawing Object has focus.

Change-Id: Id554f4f0bac547e65f47544f116f40f49d4d6135
Reviewed-on: https://gerrit.libreoffice.org/50154Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 974ef69c
......@@ -309,6 +309,13 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void )
return;
const bool bNext = *pbNext;
SwWrtShell& rSh = GetWrtShell();
if ( NID_SRCH_REP != m_nMoveType)
{
if ( rSh.GetDrawView()->IsTextEdit() )
rSh.EndTextEdit();
if ( IsDrawMode() )
LeaveDrawCreate();
}
switch( m_nMoveType )
{
case NID_PGE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment