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:08 +0000 |
commit | 65e36f20761ff191816f9a7e32da750ca3001e45 (patch) | |
tree | a08a80fb16be9abe513ca52a33d24f0b935e1ad1 /vcl/source/window/printdlg.cxx | |
parent | 0bde9091b00516096657cb7ed82898d486072355 (diff) |
sort printers
Change-Id: Idd9e10211eedbe23cabc92a7f1b1c0416fef480e
Diffstat (limited to 'vcl/source/window/printdlg.cxx')
-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"); |