bb156a1
From 02efbed152a3a9e364cdb73628af0aed0f5d6f7a Mon Sep 17 00:00:00 2001
bb156a1
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
bb156a1
Date: Wed, 4 Dec 2013 16:48:08 +0000
bb156a1
Subject: [PATCH] Resolves: rhbz#1038189 refresh printer list when print dialog
bb156a1
 launched
bb156a1
bb156a1
which is the the same thing the printer settings dialog does
bb156a1
bb156a1
Change-Id: I36fb9f057b66faa8c9fce5a9934ed2fb70786363
bb156a1
---
bb156a1
 vcl/source/window/printdlg.cxx | 2 ++
bb156a1
 1 file changed, 2 insertions(+)
bb156a1
bb156a1
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
bb156a1
index b8cb188..21941ca 100644
bb156a1
--- a/vcl/source/window/printdlg.cxx
bb156a1
+++ b/vcl/source/window/printdlg.cxx
bb156a1
@@ -602,6 +602,8 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr
bb156a1
     // init reverse print
bb156a1
     maJobPage.mpReverseOrderBox->Check( maPController->getReversePrint() );
bb156a1
 
bb156a1
+    Printer::updatePrinters();
bb156a1
+
bb156a1
     // fill printer listbox
bb156a1
     const std::vector< OUString >& rQueues( Printer::GetPrinterQueues() );
bb156a1
     for( std::vector< OUString >::const_iterator it = rQueues.begin();
bb156a1
-- 
bb156a1
1.8.3.1
bb156a1