From 5c49431dec80a83b03533b66f6be62a8d8b11038 Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Mon, 11 Feb 2002 12:02:08 +0000 Subject: #90580# enable F6 key for components --- dbaccess/source/ui/dlg/adtabdlg.cxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'dbaccess/source/ui/dlg') 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(); -- cgit