summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2021-09-09 22:29:53 +0200
committerLászló Németh <nemeth@numbertext.org>2021-09-10 10:14:59 +0200
commite85aaaecb5479660aa0cf600564ee3caa470aa3d (patch)
treed54429101288de0dc1e4b3ce6dc9ae52829bb53d
parentecb7289fc3091fbbb8a65f43fc649e57a9870ac9 (diff)
tdf#144425 Set sane lower bounds (1) for MM e-mail output ranges
Lower bounds were forgotten to be set in weld commit f1ca64800074530d95e507f93c764a687310b9eb for the new GtkAdjustments of the GtkSpinButtons This caused no visible differences until commit d9fa826769cd570814f3556d53493a78d2869873 when new default values (0) were added for VCL FormattedFields This made it possible to email MM results on non-GTK vclpugs starting from 0th mail if custom range is chosen, which causes an instant hang in the sending process since there is no -1st generated result. The default Send all option has still worked after this. Then commit ec44f87d5b99a3299322d0b79abc4c6808877865 started to use the default GtkSpinButton values for default range of result generation, breaking the Send all option as well. Change-Id: I2a9f2b0954045700f947f342e5928ef75ce23aed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121865 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
-rw-r--r--sw/uiconfig/swriter/ui/mmresultemaildialog.ui2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/uiconfig/swriter/ui/mmresultemaildialog.ui b/sw/uiconfig/swriter/ui/mmresultemaildialog.ui
index 1f71ebcbd975..7074ca79860d 100644
--- a/sw/uiconfig/swriter/ui/mmresultemaildialog.ui
+++ b/sw/uiconfig/swriter/ui/mmresultemaildialog.ui
@@ -3,11 +3,13 @@
<interface domain="sw">
<requires lib="gtk+" version="3.20"/>
<object class="GtkAdjustment" id="adjustment1">
+ <property name="lower">1</property>
<property name="upper">16000</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment2">
+ <property name="lower">1</property>
<property name="upper">16000</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>