diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 14:17:02 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 14:17:02 +0000 |
commit | 76fab1ce4f5896ad13a16d28613967359ca3468d (patch) | |
tree | 5f751f9eae4613239869471f0e0992051ea0f6fc /padmin | |
parent | INTEGRATION: CWS vcl83 (1.20.146); FILE MERGED (diff) | |
download | core-76fab1ce4f5896ad13a16d28613967359ca3468d.tar.gz core-76fab1ce4f5896ad13a16d28613967359ca3468d.zip |
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')
-rw-r--r-- | padmin/source/padialog.cxx | 8 |
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 ); |