summaryrefslogtreecommitdiff
path: root/padmin/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-26 14:17:02 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-26 14:17:02 +0000
commit76fab1ce4f5896ad13a16d28613967359ca3468d (patch)
tree5f751f9eae4613239869471f0e0992051ea0f6fc /padmin/source
parentdc1cc73c55410914fe547e5ac57f307739123792 (diff)
INTEGRATION: CWS vcl83 (1.22.8); FILE MERGED
2007/11/19 12:33:22 pl 1.22.8.2: #i80218# reselect previous printer after printer changed 2007/10/09 17:29:22 pl 1.22.8.1: #i80218# actively check for printer changes
Diffstat (limited to 'padmin/source')
-rw-r--r--padmin/source/padialog.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx
index 527770cad1c5..bc9b2e24403d 100644
--- a/padmin/source/padialog.cxx
+++ b/padmin/source/padialog.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: padialog.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: hr $ $Date: 2007-08-02 15:01:18 $
+ * last change: $Author: ihi $ $Date: 2007-11-26 15:17:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -199,10 +199,12 @@ long PADialog::Notify( NotifyEvent& rEv )
(rEv.GetType() == EVENT_GETFOCUS || rEv.GetType() == EVENT_LOSEFOCUS )
)
{
- if( m_rPIManager.checkPrintersChanged( false ) )
+ if( m_rPIManager.checkPrintersChanged( true ) )
{
+ String aSelectEntry = m_aDevicesLB.GetSelectEntry();
UpdateDevice();
UpdateText();
+ m_aDevicesLB.SelectEntry( aSelectEntry );
}
}
return ModalDialog::Notify( rEv );