summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-04-28 14:49:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-04-28 14:49:12 +0000
commit17dfecac20f2f79ca8290145fe5f19593ddf7630 (patch)
treeebbf2555b88fd81b553c115d39e54d440528090e /dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
parent2db31b04eb0208a9e9baddb0d619961f4c44d590 (diff)
INTEGRATION: CWS apps61beta2 (1.20.56); FILE MERGED
2003/04/11 13:04:04 oj 1.20.56.1: #108840# grabfocus when switching view
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
index e9404cad068d..05fbf44fb4c9 100644
--- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
+++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: QueryViewSwitch.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: oj $ $Date: 2002-08-19 08:01:28 $
+ * last change: $Author: hr $ $Date: 2003-04-28 15:49:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -322,6 +322,8 @@ sal_Bool OQueryViewSwitch::switchView()
m_pDesignView->Show ( bGraphicalDesign );
if ( bGraphicalDesign && m_bAddTableDialogWasVisible )
getAddTableDialog()->Show();
+
+ GrabFocus();
}
if ( pContainer )