diff options
Diffstat (limited to 'src/kernel/qprinter.cpp')
-rw-r--r-- | src/kernel/qprinter.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/kernel/qprinter.cpp b/src/kernel/qprinter.cpp index 3dd79b99c..9597010f7 100644 --- a/src/kernel/qprinter.cpp +++ b/src/kernel/qprinter.cpp @@ -973,13 +973,16 @@ TQPrinter::PaperSource TQPrinter::paperSource() const */ void TQPrinter::setPrintRange( PrintRange range ) { - if( range != AllPages ) + if( range != AllPages ) { if( range == Selection - && !isOptionEnabled( PrintSelection ) ) + && !isOptionEnabled( PrintSelection ) ) { setOptionEnabled( PrintSelection, TRUE ); + } else if( range == PageRange - && !isOptionEnabled( PrintPageRange ) ) + && !isOptionEnabled( PrintPageRange ) ) { setOptionEnabled( PrintPageRange, TRUE ); + } + } d->printRange = range; } |