diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-03-19 11:42:25 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-03-19 11:42:25 +0000 |
commit | ebd9c52c3c39579e01d202d648f4439408035eda (patch) | |
tree | 7d2807c767a8d2810c62bed08cd97d08f20ba4f0 /dbaccess/source/ui/dlg/adtabdlg.cxx | |
parent | 5b5c4d83d3b18047d7913173da30339162d621cb (diff) |
use of OJoinTableView
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/adtabdlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 3c2135ed46d2..00122093280a 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: adtabdlg.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2001-02-05 14:45:38 $ + * last change: $Author: oj $ $Date: 2001-03-19 12:42:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,7 +127,7 @@ OAddTableDlg::OAddTableDlg( Window* pParent) ,aDefaultString( ResId( STR_DEFAULT ) ) { DBG_CTOR(OAddTableDlg,NULL); - m_pTableView = static_cast<OQueryTableView*>(pParent); + m_pTableView = static_cast<OJoinTableView*>(pParent); // der Close-Button hat schon einen Standard-Help-Text, den ich aber hier nicht haben moechte, also den Text ruecksetzen // und eine neue ID verteilen aCloseButton.SetHelpText(String()); @@ -236,6 +236,7 @@ IMPL_LINK( OAddTableDlg, CloseClickHdl, Button*, pButton ) BOOL OAddTableDlg::Close() { m_pTableView->getDesignView()->getController()->InvalidateFeature(ID_BROWSER_ADDTABLE); + m_pTableView->getDesignView()->getController()->getView()->GrabFocus(); return ModelessDialog::Close(); } |