diff options
author | rowanbeentje <rowan@beent.je> | 2010-11-24 22:08:55 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-11-24 22:08:55 +0000 |
commit | c1a8f16cfdf68e28df39d0e39f9e5db5f7cb9685 (patch) | |
tree | acb5a9353b2c79bebc2203f9a298ca74d61e9d86 | |
parent | 3f55b5c341c6fe10dd467b439392b0a43d13beaf (diff) | |
download | sequelpro-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.m | 3 |
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 |