summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmdocselectpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/mmdocselectpage.cxx')
-rw-r--r--sw/source/ui/dbui/mmdocselectpage.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmdocselectpage.cxx b/sw/source/ui/dbui/mmdocselectpage.cxx
index 33655db6f0..1c479cb995 100644
--- a/sw/source/ui/dbui/mmdocselectpage.cxx
+++ b/sw/source/ui/dbui/mmdocselectpage.cxx
@@ -212,6 +212,9 @@ sal_Bool SwMailMergeDocSelectPage::commitPage( CommitPageReason _eReason )
((sReloadDocument = m_sLoadFileName).getLength() && m_aLoadDocRB.IsChecked() )||
((sReloadDocument = m_sLoadTemplateName).getLength() && m_aLoadTemplateRB.IsChecked())||
(m_aRecentDocRB.IsChecked() && (sReloadDocument = m_aRecentDocLB.GetSelectEntry()).getLength());
+ if( _eReason == eValidate )
+ m_pWizard->SetDocumentLoad(!m_aCurrentDocRB.IsChecked());
+
if(bNext && !m_aCurrentDocRB.IsChecked())
{
if(sReloadDocument.getLength())