[Libreoffice-commits] core.git: sw/uiconfig

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 10 08:15:37 UTC 2021


 sw/uiconfig/swriter/ui/mmresultemaildialog.ui |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e85aaaecb5479660aa0cf600564ee3caa470aa3d
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Thu Sep 9 22:29:53 2021 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Fri Sep 10 10:14:59 2021 +0200

    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 at numbertext.org>
    Tested-by: László Németh <nemeth at numbertext.org>

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>


More information about the Libreoffice-commits mailing list