[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 16 22:00:00 UTC 2020
sw/source/ui/fldui/fldedt.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e385efc6bf5d084759be4fd02f272a75c053fbc5
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Thu Oct 8 22:50:12 2020 -0800
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Fri Oct 16 23:59:18 2020 +0200
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 at gmail.com>
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx
index 2626d5c2d053..2c49e66e74b9 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)
More information about the Libreoffice-commits
mailing list