diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-04 16:48:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-04 16:49:02 +0000 |
commit | 02efbed152a3a9e364cdb73628af0aed0f5d6f7a (patch) | |
tree | bf154efe8c7a194cc4922261276170856ce28428 | |
parent | f115ec6ce1ff4bf6e68ceb441f716a4c70ecfdf6 (diff) |
Resolves: rhbz#1038189 refresh printer list when print dialog launched
which is the the same thing the printer settings dialog does
Change-Id: I36fb9f057b66faa8c9fce5a9934ed2fb70786363
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index b8cb188bde4d..21941cacb8ce 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -602,6 +602,8 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont // init reverse print maJobPage.mpReverseOrderBox->Check( maPController->getReversePrint() ); + Printer::updatePrinters(); + // fill printer listbox const std::vector< OUString >& rQueues( Printer::GetPrinterQueues() ); for( std::vector< OUString >::const_iterator it = rQueues.begin(); |