diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-17 17:30:12 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-17 17:30:12 +0100 |
commit | c9071cc471762c34a056736263f5eae825654510 (patch) | |
tree | 469cd63b8246b5a22acaf1ea8746c2eb48567f92 | |
parent | 3fda8322c9eb16fe5f9855bfbcc7f1a1c639e437 (diff) |
SwMMResultPrintDialog: disable from/to numeric fields by default
feature/mailmerge-toolbar
Again, same situation as in SwMMResultEmailDialog.
Change-Id: Id26aa0601db712133147856dfe179415d579e75a
-rw-r--r-- | sw/source/ui/dbui/mmresultdialogs.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index b136909c1af5..d12a22951df5 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -274,8 +274,11 @@ SwMMResultPrintDialog::SwMMResultPrintDialog(vcl::Window* pParent) m_pPrinterLB->SetSelectHdl(LINK(this, SwMMResultPrintDialog, PrinterChangeHdl_Impl)); m_pPrinterSettingsPB->SetClickHdl(LINK(this, SwMMResultPrintDialog, PrinterSetupHdl_Impl)); - m_pPrintAllRB->SetClickHdl(LINK(this, SwMMResultPrintDialog, DocumentSelectionHdl_Impl)); - m_pFromRB->SetClickHdl(LINK(this, SwMMResultPrintDialog, DocumentSelectionHdl_Impl)); + Link<Button*,void> aLink = LINK(this, SwMMResultPrintDialog, DocumentSelectionHdl_Impl); + m_pPrintAllRB->SetClickHdl(aLink); + m_pFromRB->SetClickHdl(aLink); + // m_pPrintAllRB is the default, so disable m_pFromNF and m_pToNF initially. + aLink.Call(m_pPrintAllRB); m_pOKButton->SetClickHdl(LINK(this, SwMMResultPrintDialog, PrintHdl_Impl)); |