diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-30 08:45:50 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-30 08:45:50 +0000 |
commit | c93f78981eba6eb1f14dcd00c675c48b675b0494 (patch) | |
tree | 16f1d6bc0fc785c5e192d606c65fd404b008d12c | |
parent | 27122d036b690c1e3601f219a0aa69d6ce52addf (diff) | |
download | sequelpro-c93f78981eba6eb1f14dcd00c675c48b675b0494.tar.gz sequelpro-c93f78981eba6eb1f14dcd00c675c48b675b0494.tar.bz2 sequelpro-c93f78981eba6eb1f14dcd00c675c48b675b0494.zip |
• fixed tiny issues for field editing in Content and Custom table
- note: for Custom table the re-entering into the edit mode was removed since for a slow reload it doesn't work, ie we've to look for a better way
-rw-r--r-- | Source/SPCustomQuery.m | 3 | ||||
-rw-r--r-- | Source/SPTableContent.m | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 011cdc09..831ff44f 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -3434,9 +3434,6 @@ if (selectionIndexToRestore) [customQueryView selectRowIndexes:selectionIndexToRestore byExtendingSelection:NO]; - if(row > -1 && column > -1) - [customQueryView editColumn:column row:row withEvent:nil select:YES]; - } #pragma mark - diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 19d9a6b6..13d58e3a 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -2569,6 +2569,9 @@ */ - (BOOL)cancelRowEditing { + + [[tableDocumentInstance parentWindow] makeFirstResponder:tableContentView]; + if (!isEditingRow) return NO; if (isEditingNewRow) { tableRowsCount--; |