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

Gabor Kelemen kelemeng at ubuntu.com
Sat Jun 24 07:40:58 UTC 2017


 sw/source/ui/dbui/mmaddressblockpage.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 511c16bd8c8671f43d2ff93f845209e733c6ae4d
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Thu Jun 8 07:18:53 2017 +0200

    tdf#98800 Enable Next button on the third page of the MM Wizard
    
    This seems to enable and disable the Next button even if the
    'This page shall' checkbox is already enabled after a previous run.
    
    Change-Id: I9cba7649b9cd1df110c5a120d4eea3d97b3afcf1
    Reviewed-on: https://gerrit.libreoffice.org/38553
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index f78f9c9c1927..16a57ee05c80 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -245,6 +245,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, AddressBlockHdl_Impl, Button*, pBox, void
     SwMailMergeConfigItem& rConfigItem = m_pWizard->GetConfigItem();
     rConfigItem.SetAddressBlock(m_pAddressCB->IsChecked());
     m_pWizard->UpdateRoadmap();
+    GetWizard()->enableButtons(WizardButtonFlags::NEXT, GetWizard()->isStateEnabled(MM_GREETINGSPAGE));
 }
 
 IMPL_LINK_NOARG(SwMailMergeAddressBlockPage, AddressBlockSelectHdl_Impl, LinkParamNone*, void)


More information about the Libreoffice-commits mailing list