diff options
author | Henry Castro <hcastro@collabora.com> | 2020-05-12 15:05:48 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-21 00:47:40 +0200 |
commit | 6a26f88c1d59b3f2b4a245f2658cdd8c20ad8f80 (patch) | |
tree | 9a56849ffe6f75fb06e67435849d43ee2755f205 /vcl | |
parent | bc94d7f658c42a52a0cc75b6222c31288751d27d (diff) |
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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94529
Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/fmtfield.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |