sw/source/uibase/shells/tabsh.cxx | 3 --- 1 file changed, 3 deletions(-)
New commits: commit 9c61732677d038e32b73fc9fb883aced14c0febf Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Sep 27 20:55:02 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Sep 28 12:33:38 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/+/103525 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 1fa8f287fbff..23fd983166e3 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