sw/source/uibase/shells/tabsh.cxx | 3 --- 1 file changed, 3 deletions(-)
New commits: commit 75bae11e0867c440b9cf0923c236b518380fe87e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Sep 27 20:55:02 2020 +0100 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Tue Sep 29 10:51:09 2020 +0200 tdf#135916 just set the target table as selection don't save and restore the cursor when the format is applied Change-Id: I320b714193b604cb480a517add4a4a61f5a5128e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103436 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 04dfbda01131..d2e2380444d5 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -600,7 +600,6 @@ void SwTableShell::Execute(SfxRequest &rReq) pDlg->StartExecuteAsync([pDlg, pRequest, pTableRep, &rBindings, &rSh, xPaM](sal_Int32 nResult){ if (RET_OK == nResult) { - rSh.Push(); // save current cursor on stack rSh.SetSelection(*xPaM); // tdf#135636 set the table selected at dialog launch as current selection const SfxItemSet* pOutSet = pDlg->GetOutputItemSet(); @@ -610,8 +609,6 @@ void SwTableShell::Execute(SfxRequest &rReq) pRequest->Done(*pOutSet); ItemSetToTableParam(*pOutSet, rSh); - - rSh.Pop(SwCursorShell::PopMode::DeleteCurrent); // restore cursor from stack } rBindings.Update(SID_RULER_BORDERS); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits