diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-25 11:27:52 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-25 11:27:52 +0000 |
commit | bcf348746216a4dec98b5eb8dcff625e023d00fa (patch) | |
tree | 166148a08bc4679b96875c1dfc20ba4f8817acc0 /Source/SPCopyTable.m | |
parent | 86f08139a21a39b9d6077a34bf6a819833ca860c (diff) | |
download | sequelpro-bcf348746216a4dec98b5eb8dcff625e023d00fa.tar.gz sequelpro-bcf348746216a4dec98b5eb8dcff625e023d00fa.tar.bz2 sequelpro-bcf348746216a4dec98b5eb8dcff625e023d00fa.zip |
• after editing in Custom Query table preserve the selected line even if the actual edited line due to new data will come up in another line
Diffstat (limited to 'Source/SPCopyTable.m')
-rw-r--r-- | Source/SPCopyTable.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index 2634c7f5..b1b663a4 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -120,6 +120,7 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003; if ( [self numberOfColumns] - 1 == column) { if([[self delegate] respondsToSelector:@selector(addRowToDB)]) [[self delegate] addRowToDB]; + [[self onMainThread] makeFirstResponder]; } else { // Select the next field for editing [self editColumn:column+1 row:row withEvent:nil select:YES]; |