[Libreoffice-commits] core.git: sw/source
Jan Holesovsky
kendy at collabora.com
Wed May 17 17:46:20 UTC 2017
sw/source/uibase/shells/textfld.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 24a3a9c41a3e51f6b37831568ba968a4f69e72b7
Author: Jan Holesovsky <kendy at collabora.com>
Date: Wed May 17 17:31:58 2017 +0200
lok: Update state of undo after a comment modification.
Change-Id: Ibb6a902f928b951bd480e32cb1f91d100420dccb
Reviewed-on: https://gerrit.libreoffice.org/37726
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx
index ca6d848d9b1c..12cf61076926 100644
--- a/sw/source/uibase/shells/textfld.cxx
+++ b/sw/source/uibase/shells/textfld.cxx
@@ -488,7 +488,12 @@ void SwTextShell::ExecField(SfxRequest &rReq)
sw::annotation::SwAnnotationWin* pAnnotationWin = GetView().GetPostItMgr()->GetAnnotationWin(pIdItem->GetValue().toUInt32());
if (pAnnotationWin)
+ {
pAnnotationWin->UpdateText(sText);
+
+ // explicit state update to get the Undo state right
+ GetView().AttrChangedNotify(GetShellPtr());
+ }
}
}
break;
More information about the Libreoffice-commits
mailing list