From 517ef6fcb236805dd73bf4725e5ef2beb70baf8f Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Tue, 20 Mar 2001 07:15:49 +0000 Subject: #84865# some focus changes --- dbaccess/source/ui/querydesign/JoinController.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dbaccess/source/ui/querydesign/JoinController.cxx') 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(m_pView)->getAddTableDialog(); if(m_pAddTabDlg->IsVisible()) + { m_pAddTabDlg->Show(!m_pAddTabDlg->IsVisible()); + m_pView->GrabFocus(); + } else if(static_cast(m_pView)->getTableView()->IsAddAllowed()) m_pAddTabDlg->Show(!m_pAddTabDlg->IsVisible()); break; -- cgit