vcl/source/control/fmtfield.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 6a26f88c1d59b3f2b4a245f2658cdd8c20ad8f80 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Tue May 12 15:05:48 2020 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Thu May 21 00:47:40 2020 +0200 lok: notify data change of the formatted field control Change-Id: I997ed1fb3900ab46e6182e529762bf5b04e82fcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94076 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Henry Castro <hcas...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94529 Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx index df4f43f0ed78..9ce770b74ea7 100644 --- a/vcl/source/control/fmtfield.cxx +++ b/vcl/source/control/fmtfield.cxx @@ -842,6 +842,11 @@ void FormattedField::SetValueFromString(const OUString& rStr) nEnd == rStr.getLength()) { SetValue(fValue); + SetModifyFlag(); + Modify(); + + // Notify the value has changed + SpinField::Up(); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits