diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-12-04 07:44:14 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-12-04 07:44:14 +0000 |
commit | 4ca080213c9bcb2407c44ed9aa15816fd1512fdf (patch) | |
tree | 06141fdc3c702efe0a2f35edde35e72074ed6d91 /dbaccess/source/ui/dlg/queryfilter.cxx | |
parent | #104982# new method to get notifaction when entry is selected and enable add ... (diff) | |
download | core-4ca080213c9bcb2407c44ed9aa15816fd1512fdf.tar.gz core-4ca080213c9bcb2407c44ed9aa15816fd1512fdf.zip |
#104982# set focus in the edit field
Diffstat (limited to 'dbaccess/source/ui/dlg/queryfilter.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/queryfilter.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 079f750947be..03b9a3f32ebb 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: queryfilter.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: fs $ $Date: 2002-04-09 14:54:26 $ + * last change: $Author: oj $ $Date: 2002-12-04 08:44:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -256,6 +256,9 @@ DlgFilterCrit::DlgFilterCrit(Window * pParent, aET_WHEREVALUE2.SetLoseFocusHdl( LINK( this, DlgFilterCrit, PredicateLoseFocus ) ); aET_WHEREVALUE3.SetLoseFocusHdl( LINK( this, DlgFilterCrit, PredicateLoseFocus ) ); + if ( aET_WHEREVALUE1.IsEnabled() ) + aET_WHEREVALUE1.GrabFocus(); + FreeResource(); } //------------------------------------------------------------------------------ |