From 049251ba567516fa66270537067ac6b9a8a93ae6 Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Tue, 14 Aug 2001 06:56:01 +0000 Subject: #90862# enable delete key --- dbaccess/source/ui/tabledesign/TableDesignControl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/tabledesign/TableDesignControl.cxx') diff --git a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx index a16961eb1927..2ab3ed85f3c3 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TableDesignControl.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-06-29 08:41:14 $ + * last change: $Author: oj $ $Date: 2001-08-14 07:56:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -145,7 +145,7 @@ void OTableRowView::Init() //------------------------------------------------------------------------ void OTableRowView::KeyInput( const KeyEvent& rEvt ) { - if (IsUpdatable() && GetSelectRowCount()) + if (IsDeleteAllowed(0)) { if (rEvt.GetKeyCode().GetCode() == KEY_DELETE && // Delete rows !rEvt.GetKeyCode().IsShift() && -- cgit