diff options
author | Henry Castro <hcastro@collabora.com> | 2020-05-12 15:05:48 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-13 13:38:07 +0200 |
commit | 736ee5ba954cc7f3cce7948dc3923c8504788830 (patch) | |
tree | 237b8ad99d594881eb7271e8c4125da235601161 | |
parent | ce308d606caa658f20839cbe68387f866acac2b6 (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/+/94091
Tested-by: Jenkins
-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 6ed2424dd9f0..87ff8b7b68c9 100644 --- a/vcl/source/control/fmtfield.cxx +++ b/vcl/source/control/fmtfield.cxx @@ -847,6 +847,11 @@ void FormattedField::SetValueFromString(const OUString& rStr) nEnd == rStr.getLength()) { SetValue(fValue); + SetModifyFlag(); + Modify(); + + // Notify the value has changed + SpinField::Up(); } else { |