diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-03-20 07:15:49 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-03-20 07:15:49 +0000 |
commit | 517ef6fcb236805dd73bf4725e5ef2beb70baf8f (patch) | |
tree | 60d6fab8fe0393eee27f438dad60e834986c625e /dbaccess/source/ui/querydesign/JoinController.cxx | |
parent | a9558954413548163b5a09c1a7b9eb7e873372e6 (diff) |
#84865# some focus changes
Diffstat (limited to 'dbaccess/source/ui/querydesign/JoinController.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinController.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx index 5ccb422fa58d..c372c69d756d 100644 --- a/dbaccess/source/ui/querydesign/JoinController.cxx +++ b/dbaccess/source/ui/querydesign/JoinController.cxx @@ -2,9 +2,9 @@ * * $RCSfile: JoinController.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: fs $ $Date: 2001-03-15 08:26:26 $ + * last change: $Author: oj $ $Date: 2001-03-20 08:13:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -362,7 +362,10 @@ void OJoinController::Execute(sal_uInt16 _nId) if(!m_pAddTabDlg) m_pAddTabDlg = static_cast<OJoinDesignView*>(m_pView)->getAddTableDialog(); if(m_pAddTabDlg->IsVisible()) + { m_pAddTabDlg->Show(!m_pAddTabDlg->IsVisible()); + m_pView->GrabFocus(); + } else if(static_cast<OJoinDesignView*>(m_pView)->getTableView()->IsAddAllowed()) m_pAddTabDlg->Show(!m_pAddTabDlg->IsVisible()); break; |