summaryrefslogtreecommitdiffstats
path: root/src/printsupport/dialogs/qprintwidget.ui
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2018-04-23 23:16:27 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2018-05-02 14:07:19 +0000
commitfa854f214a3c812e5548ff55d179dd07ef99053b (patch)
tree1abbebdf138880b7f51b497ebf8dbb1d5d8babf4 /src/printsupport/dialogs/qprintwidget.ui
parent8b098e6544221a96bc6a41a6bfcc0dfa7cf805e6 (diff)
Unix print dialog: Properly initialize duplex
In case the user has explicitly selected a value for the duplex mode in the print dialog before, select this one when another printer is selected and the newly selected printer supports it. Otherwise, always set to the default value of the respective device that was selected. This way, default values that the user (or admin) has set for a CUPS printer (or printer instance) are honored, but an explicit user choice made in the dialog takes precedence. Previously, the duplex values was always reset to "None" every time the printer was changed. Change-Id: Id9683a05b10cf7a4b842f8b6c8452e80cdc6ff91 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/printsupport/dialogs/qprintwidget.ui')
0 files changed, 0 insertions, 0 deletions