aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/TablesList.m5
1 files changed, 4 insertions, 1 deletions
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