diff options
-rw-r--r-- | sw/source/uibase/fldui/fldmgr.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx index a51dd7666f3d..35c6f5ebd28e 100644 --- a/sw/source/uibase/fldui/fldmgr.cxx +++ b/sw/source/uibase/fldui/fldmgr.cxx @@ -1328,10 +1328,14 @@ bool SwFieldMgr::InsertField( if (TYP_INPUTFLD == rData.m_nTypeId) { + pCurShell->Push(); + // start dialog, not before the field is inserted tdf#99529 pCurShell->Left(CRSR_SKIP_CHARS, false, (INP_VAR == (nSubType & 0xff)) ? 1 : 2, false ); pCurShell->StartInputFieldDlg(pField, false, rData.m_pParent); + + pCurShell->Pop(false); } if(bExp && bEvalExp) |