diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-01 08:53:14 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-01 08:53:14 +0000 |
commit | a6325dbb88629e7bc5e170bb23955ebf1910c17b (patch) | |
tree | 25647bdead544e91aa98765a6f54b6c58e27c3f1 | |
parent | 7fbc246fbcbfbe819c27d561650aacd312f2d6b0 (diff) | |
download | sequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.tar.gz sequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.tar.bz2 sequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.zip |
• after editing the Custom Query table remain the focus on that table
-rw-r--r-- | Source/SPCustomQuery.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 4b3ca24b..6eb07277 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -849,6 +849,9 @@ if (selectionIndexToRestore) [customQueryView selectRowIndexes:selectionIndexToRestore byExtendingSelection:NO]; + if(reloadingExistingResult) + [[tableDocumentInstance parentWindow] makeFirstResponder:customQueryView]; + [queryRunningPool release]; } @@ -1952,7 +1955,6 @@ (numberOfPossibleUpdateRows<1)?0:numberOfPossibleUpdateRows, (numberOfPossibleUpdateRows>1)?@"es":@"", [columnDefinition objectForKey:@"org_table"]]); } - } } |