diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/view/printdata.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index a92f3661c990..a2da5005cc38 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -301,7 +301,8 @@ SwPrintUIOptions::SwPrintUIOptions( aWidgetIds[4] = "rbRangeSelection"; m_aUIProperties[nIdx++].Value = setChoiceRadiosControlOpt(aWidgetIds, OUString(), aHelpIds, aPrintRangeName, - aChoices, 0 /* always default to 'All pages' */, + aChoices, + bHasSelection ? 4 : 0, aChoicesDisabled); // show an Edit dependent on "Pages" selected |