diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-07-25 21:28:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-07-27 13:38:39 +0200 |
commit | 6057cc1df797b980f3d1d917befcb3256f3a9fb6 (patch) | |
tree | e5f7bcd300f28b521e0f23d863120160a12e938c /include | |
parent | 69184e2eff8eeb1f2a0b10279c1d08f70b2e7000 (diff) |
Resolves: tdf#156411 listen to "value-changed" not "changed"
we were listening to "changed" and querying the "value", but the value
isn't guaranteed to have changed while the contents are being edited,
only when "value-changed" arrives.
Change-Id: I077051555813df48adae4259aa9a93d39c360dc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154927
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/compressgraphicdialog.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/compressgraphicdialog.hxx b/include/svx/compressgraphicdialog.hxx index 3319a41a431c..088d0b6fd45e 100644 --- a/include/svx/compressgraphicdialog.hxx +++ b/include/svx/compressgraphicdialog.hxx @@ -67,10 +67,10 @@ private: DECL_DLLPRIVATE_LINK( SlideHdl, weld::Scale&, void ); DECL_DLLPRIVATE_LINK( NewInterpolationModifiedHdl, weld::ComboBox&, void ); - DECL_DLLPRIVATE_LINK( NewQualityModifiedHdl, weld::Entry&, void ); - DECL_DLLPRIVATE_LINK( NewCompressionModifiedHdl, weld::Entry&, void ); - DECL_DLLPRIVATE_LINK( NewWidthModifiedHdl, weld::Entry&, void ); - DECL_DLLPRIVATE_LINK( NewHeightModifiedHdl, weld::Entry&, void ); + DECL_DLLPRIVATE_LINK( NewQualityModifiedHdl, weld::SpinButton&, void ); + DECL_DLLPRIVATE_LINK( NewCompressionModifiedHdl, weld::SpinButton&, void ); + DECL_DLLPRIVATE_LINK( NewWidthModifiedHdl, weld::SpinButton&, void ); + DECL_DLLPRIVATE_LINK( NewHeightModifiedHdl, weld::SpinButton&, void ); DECL_DLLPRIVATE_LINK( ResolutionModifiedHdl, weld::ComboBox&, void ); DECL_DLLPRIVATE_LINK( ToggleCompressionRB, weld::Toggleable&, void ); DECL_DLLPRIVATE_LINK( ToggleReduceResolutionRB, weld::Toggleable&, void ); |