[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 15 08:26:39 UTC 2020


 vcl/source/app/salvtables.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 1c24c5047d08cce8cc7f0b0a4acc93cfc5739da5
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 13 10:39:37 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 15 10:25:55 2020 +0200

    always use underlying Edit SetText
    
    like FieldFormatter::SetEntryText does
    
    Change-Id: If25a2311e6756d24e2403181f7adc5adfdc562a0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98653
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index d371f2cd2d67..3c564aa5371c 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -5352,6 +5352,13 @@ public:
     {
     }
 
+    virtual void set_text(const OUString& rText) override
+    {
+        disable_notify_events();
+        m_xButton->SpinField::SetText(rText);
+        enable_notify_events();
+    }
+
     virtual void SetFormatter(weld::EntryFormatter* pFormatter) override
     {
         m_xButton->SetFormatter(pFormatter);


More information about the Libreoffice-commits mailing list