[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - extensions/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 19 01:21:45 UTC 2020


 extensions/source/propctrlr/usercontrol.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit acddc14fef3f3d34c9f2218545364ff37815b507
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 18 10:48:24 2020 +0000
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Thu Nov 19 02:21:01 2020 +0100

    Resolves: tdf#138271 flag formatted spinbuttons as modified on any entry change
    
    formattedspinbuttons should send value-changed on losing focus, but this
    is sufficient for this use case and safe to backport
    
    Change-Id: Ie0cf5ab22152d95169dc5579423a4173be678a33
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105999
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx
index 93969d2afb21..b72fcbd8048d 100644
--- a/extensions/source/propctrlr/usercontrol.hxx
+++ b/extensions/source/propctrlr/usercontrol.hxx
@@ -58,6 +58,7 @@ namespace pcr
             m_xEntry->connect_focus_in( LINK( this, CommonBehaviourControlHelper, GetFocusHdl ) );
             m_xEntry->connect_focus_out( LINK( this, CommonBehaviourControlHelper, LoseFocusHdl ) );
             m_xSpinButton->connect_value_changed(LINK(this, CommonBehaviourControlHelper, FormattedModifiedHdl));
+            m_xSpinButton->connect_changed(LINK(this, CommonBehaviourControlHelper, EditModifiedHdl));
         }
 
         void SetFormatSupplier(const SvNumberFormatsSupplierObj* pSupplier);
@@ -105,6 +106,7 @@ namespace pcr
         {
             OFormattedNumericControl_Base::SetModifyHandler();
             getTypedControlWindow()->connect_value_changed(LINK(this, CommonBehaviourControlHelper, FormattedModifiedHdl));
+            getTypedControlWindow()->connect_changed(LINK(this, CommonBehaviourControlHelper, EditModifiedHdl));
         }
 
         virtual weld::Widget* getWidget() override { return getTypedControlWindow(); }


More information about the Libreoffice-commits mailing list