diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qprinter.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
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; } |