From 610b3c590dc35bc8e1ea3ef17aa59ba72e8e3d55 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 26 May 2009 12:32:51 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20key-binding=20for=20RETURN=20to=20"?= =?UTF-8?q?Add"=20button=20in=20the=20"add=20table=20sheet"=20via=20delega?= =?UTF-8?q?te=20method=20controlTextDidEndEditing:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TablesList.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/TablesList.m b/Source/TablesList.m index 6173a5d2..2866bd3c 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -810,10 +810,13 @@ - (void)controlTextDidEndEditing:(NSNotification *)notification { id object = [notification object]; - + if (object == tableRenameField) { [renameTableButton performClick:object]; } + if (object == tableNameField) { + [addTableButton performClick:object]; + } } #pragma mark Getter methods -- cgit v1.2.3