diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-09-27 19:59:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-09-28 08:10:40 +0200 |
commit | 1734e97222324c137ecd084ad2464abdff2698d1 (patch) | |
tree | 34e62cc9f21a5c38c8d07060edcc122d2850f466 /desktop/unx | |
parent | e753de4630fb74ac837d0339be23a305f18d0725 (diff) |
tdf#143819 sw: fix undo not restoring adjusted anchor
Regression from commit 0a4d77f35e96e4dfdf69cc5ceb788ddaa849084c
(SwTxtNode::Update: don't move anchors at insert position, 2014-10-06),
the problem is that in case backspace adjusts the anchor point of a fly
and undo does an insert (which now doesn't adjust the anchor point),
then the user action and its undo is not in sync.
Fix this by informing SwTextNode::Update() if an undo is in progress and
doing the old behavior in that case.
Change-Id: I0b3f3954be11420846f84287e486b993b2dc39e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122727
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'desktop/unx')
0 files changed, 0 insertions, 0 deletions