vcl/source/control/fmtfield.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 20f42f4f41ee4e719931bfa0e68b8d2a9ff9eea6
Author:     Henry Castro <[email protected]>
AuthorDate: Tue May 12 15:05:48 2020 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Wed May 13 03:21:01 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 <[email protected]>
    Reviewed-by: Henry Castro <[email protected]>

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
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to