aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-24 22:08:55 +0000
committerrowanbeentje <rowan@beent.je>2010-11-24 22:08:55 +0000
commitc1a8f16cfdf68e28df39d0e39f9e5db5f7cb9685 (patch)
treeacb5a9353b2c79bebc2203f9a298ca74d61e9d86
parent3f55b5c341c6fe10dd467b439392b0a43d13beaf (diff)
downloadsequelpro-c1a8f16cfdf68e28df39d0e39f9e5db5f7cb9685.tar.gz
sequelpro-c1a8f16cfdf68e28df39d0e39f9e5db5f7cb9685.tar.bz2
sequelpro-c1a8f16cfdf68e28df39d0e39f9e5db5f7cb9685.zip
- When adding multiple new tables, ensure the keyboard focus is set to the name field on subsequent invocations of the sheet
-rw-r--r--Source/SPTablesList.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 41a528d3..2071f793 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -329,6 +329,9 @@
[tableEncodingButton setEnabled:NO];
}
+ // Set the focus to the name field
+ [tableSheet makeFirstResponder:tableNameField];
+
[NSApp beginSheet:tableSheet
modalForWindow:[tableDocumentInstance parentWindow]
modalDelegate:self