sw/source/core/edit/ednumber.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1da91cd552d29923ab7ea8027119ff5f62103d57 Author: Vasily Melenchuk <vasily.melenc...@cib.de> AuthorDate: Fri Jul 23 11:46:57 2021 +0300 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Mon Jul 26 15:19:15 2021 +0200 sw: undo/redo: change undo id for numbering Instead of "Reset attributes" new undo id is "Apply attributes". Seems less confusing when modified numbering rule is appled. Change-Id: I0bad38475363d6e0af01597271720d71aca7722c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119401 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index cd4458c276dd..994efbf37ec4 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -775,7 +775,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule, { StartAllAction(); - GetDoc()->GetIDocumentUndoRedo().StartUndo( SwUndoId::START, nullptr ); + GetDoc()->GetIDocumentUndoRedo().StartUndo( SwUndoId::INSATTR, nullptr ); SwPaM* pCursor = GetCursor(); if( IsMultiSelection() ) @@ -808,7 +808,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule, true, bResetIndentAttrs ); GetDoc()->SetCounted( *pCursor, true, GetLayout() ); } - GetDoc()->GetIDocumentUndoRedo().EndUndo( SwUndoId::END, nullptr ); + GetDoc()->GetIDocumentUndoRedo().EndUndo( SwUndoId::INSATTR, nullptr ); EndAllAction(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits