fdo#34641: set initial focus to "Number of copies"

This commit is contained in:
Ivan Timofeev
2011-12-17 11:53:26 +04:00
parent 4a0ab53cf4
commit c4ccdda15a

View File

@@ -902,6 +902,9 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont
// setup dependencies // setup dependencies
checkControlDependencies(); checkControlDependencies();
// set initial focus to "Number of copies"
maJobPage.maCopyCountField.GrabFocus();
maJobPage.maCopyCountField.SetSelection( Selection(0, 0xFFFF) );
} }
PrintDialog::~PrintDialog() PrintDialog::~PrintDialog()