summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2021-09-09 22:29:53 +0200
committerGabor Kelemen <kelemen.gabor2@nisz.hu>2021-09-13 08:21:13 +0200
commit3d60adcece5add26f0db59fc6c1e3c87472f697f (patch)
tree67d9ff6dd719153ae991366a6a446022a5f1fca8
parenttdf#144412 Qt5 reset m_nModKeyCode on key input (diff)
downloadcore-3d60adcece5add26f0db59fc6c1e3c87472f697f.tar.gz
core-3d60adcece5add26f0db59fc6c1e3c87472f697f.zip
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> (cherry picked from commit e85aaaecb5479660aa0cf600564ee3caa470aa3d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121877 Tested-by: Jenkins
-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>