summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-05-12 15:05:48 -0400
committerHenry Castro <hcastro@collabora.com>2020-05-13 03:21:01 +0200
commit20f42f4f41ee4e719931bfa0e68b8d2a9ff9eea6 (patch)
tree0a69b8d7d002f7c6f51578153dc8796f3f7d4c6f
parentb833f0a8c98e46c51a0e5fab21d8dbae32d3070e (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>
-rw-r--r--vcl/source/control/fmtfield.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx
index 1ca963d2b017..b504342a5a87 100644
--- a/vcl/source/control/fmtfield.cxx
+++ b/vcl/source/control/fmtfield.cxx
@@ -849,6 +849,11 @@ void FormattedField::SetValueFromString(const OUString& rStr)
nEnd == rStr.getLength())
{
SetValue(fValue);
+ SetModifyFlag();
+ Modify();
+
+ // Notify the value has changed
+ SpinField::Up();
}
else
{