tdf#137210 fix field selection regression
restores field selection functionality that went missing after commit
f51005bc969c9296fa3e64d82c13f84fdfb90fe4
Change-Id: Ifbab4c1ce272be75ced981e3d36717510684b93b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104100
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx
index 2626d5c..2c49e66 100644
--- a/sw/source/ui/fldui/fldedt.cxx
+++ b/sw/source/ui/fldui/fldedt.cxx
@@ -280,8 +280,6 @@ IMPL_LINK(SwFieldEditDlg, NextPrevHdl, weld::Button&, rButton, void)
rMgr.GoNextPrev( bNext, pOldTyp );
pCurField = rMgr.GetCurField();
EnsureSelection(pCurField, rMgr);
sal_uInt16 nGroup = SwFieldMgr::GetGroup(pCurField->GetTypeId(), pCurField->GetSubType());
if (nGroup != pTabPage->GetGroup())
@@ -290,6 +288,7 @@ IMPL_LINK(SwFieldEditDlg, NextPrevHdl, weld::Button&, rButton, void)
pTabPage->EditNewField();
Init();
EnsureSelection(pCurField, rMgr);
}
IMPL_LINK_NOARG(SwFieldEditDlg, AddressHdl, weld::Button&, void)