summaryrefslogtreecommitdiff
path: root/vcl/generic/print/prtsetup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/generic/print/prtsetup.cxx')
-rw-r--r--vcl/generic/print/prtsetup.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx
index 41fd69c5fa32..8a5fd70c82f6 100644
--- a/vcl/generic/print/prtsetup.cxx
+++ b/vcl/generic/print/prtsetup.cxx
@@ -256,6 +256,14 @@ void RTSPaperPage::update()
m_pSlotText->Enable( false );
m_pSlotBox->Enable( false );
}
+
+ // disable those, unless user wants to use papersize from printer prefs
+ // as they have no influence on what's going to be printed anyway
+ if (!m_pParent->m_aJobData.m_bPapersizeFromSetup)
+ {
+ m_pPaperBox->Enable( false );
+ m_pOrientBox->Enable( false );
+ }
}
IMPL_LINK( RTSPaperPage, SelectHdl, ListBox*, pBox )