diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-07-12 15:13:34 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-07-12 15:25:54 +0200 |
commit | 591dfe338ee2e553f822e8bbd3bc602a8ff0d875 (patch) | |
tree | cbe4334f7cad78239eca01691b17925bfb59376a | |
parent | 5a4ba334fecaf47919ccf5c2d2d7a5766bf18deb (diff) |
In the print dialog, always default to "All pages".
The previous behavior used to depend on whether there is something selected
in the document or not; which was particularly confusing when there was
a picture in the document selected - in that case all that was printed was
the picture, nothing else, when the user did not notice that this option is
selected.
-rw-r--r-- | sw/source/core/view/printdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index 35a979ffa0..db5313d4fe 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -326,7 +326,7 @@ SwPrintUIOptions::SwPrintUIOptions( aHelpIds, aPrintRangeName, aChoices, - bHasSelection ? 2 /*enable 'Selection' radio button*/ : 0 /* enable 'All pages' */, + 0 /* always default to 'All pages' */, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Radio" ) ), aChoicesDisabled ); |