[Libreoffice-commits] .: Branch 'libreoffice-3-5' - vcl/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Fri Dec 16 23:59:51 PST 2011


 vcl/source/window/printdlg.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 6e7299d31a604e58c3f27e5d00eda1210cac6d2a
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Sat Dec 17 11:53:26 2011 +0400

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

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 6119555..b1c9b4b 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -902,6 +902,9 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont
     // setup dependencies
     checkControlDependencies();
 
+    // set initial focus to "Number of copies"
+    maJobPage.maCopyCountField.GrabFocus();
+    maJobPage.maCopyCountField.SetSelection( Selection(0, 0xFFFF) );
 }
 
 PrintDialog::~PrintDialog()


More information about the Libreoffice-commits mailing list