diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-04 20:06:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-04 20:08:48 +0000 |
commit | b81b69eaa2295cae98ffff9c43b13fb45d71ee7f (patch) | |
tree | 2026c1fa4123e39ff9b53896c02331b607776710 /vcl | |
parent | 20972abfb4f12c89c6390e834f618eb2940c8201 (diff) |
sort printers
Change-Id: Idd9e10211eedbe23cabc92a7f1b1c0416fef480e
(cherry picked from commit 65e36f20761ff191816f9a7e32da750ca3001e45)
Signed-off-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 4776f397197d..0e63800f9d58 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -476,6 +476,7 @@ PrintDialog::JobTabPage::JobTabPage( VclBuilder* pUIBuilder ) , mnCollateUIMode( 0 ) { pUIBuilder->get(mpPrinters, "printers"); + mpPrinters->SetStyle(mpPrinters->GetStyle() | WB_SORT); pUIBuilder->get(mpStatusTxt, "status"); pUIBuilder->get(mpLocationTxt, "location"); pUIBuilder->get(mpCommentTxt, "comment"); |