diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-27 20:55:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-28 12:33:38 +0200 |
commit | 9c61732677d038e32b73fc9fb883aced14c0febf (patch) | |
tree | 79060a207ee6b88fe733cb41f2296dbc0c5076f9 /sw/source/uibase/shells/tabsh.cxx | |
parent | e302e37733225e38dd4dcdb3cd90ae89eaee2cd8 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/shells/tabsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/tabsh.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
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); |