summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-06-08 07:18:53 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-06-26 14:08:42 +0200
commit68d7d974867d226aaf691f6609651fdcd30b7d36 (patch)
treebe0b47c4dfa3efa0056a0f13f230a82070bf4faf /sw
parent7173b70d665608f3823f4a3ff0653f84c0630ed3 (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit 511c16bd8c8671f43d2ff93f845209e733c6ae4d) Reviewed-on: https://gerrit.libreoffice.org/39207
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 4e9cce014c5e..24b3ee80a23a 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)