summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/adtabdlg.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-02-11 12:02:08 +0000
committerOcke Janssen <oj@openoffice.org>2002-02-11 12:02:08 +0000
commit5c49431dec80a83b03533b66f6be62a8d8b11038 (patch)
treebc9bba9ab4fdda995ab47322a67e25a8af716a7c /dbaccess/source/ui/dlg/adtabdlg.cxx
parenta615af5c4bdb3c4f68e68b77babcb85ec20a78e2 (diff)
#90580# enable F6 key for components
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index 47ed949925d7..679bcd456aee 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.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2001-08-24 06:39:26 $
+ * last change: $Author: oj $ $Date: 2002-02-11 13:02:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -200,17 +200,12 @@ void OAddTableDlg::AddTable()
//------------------------------------------------------------------------------
IMPL_LINK( OAddTableDlg, AddClickHdl, Button*, pButton )
{
- if (IsAddAllowed())
- AddTable();
-
- if (!IsAddAllowed())
- Close();
-
+ TableListDoubleClickHdl(NULL);
return 0;
}
//------------------------------------------------------------------------------
-IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, ListBox *, pListBox )
+IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, ListBox *, EMPTY_ARG )
{
if (IsAddAllowed())
AddTable();