extensions/source/propctrlr/usercontrol.hxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2a9e6792b85bd7f747f74da62d575720469485f3 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Nov 18 10:48:24 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Nov 18 15:06:18 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/+/106051 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 002c209ce7b1..facc2621707f 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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits