aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-30 08:45:50 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-30 08:45:50 +0000
commitc93f78981eba6eb1f14dcd00c675c48b675b0494 (patch)
tree16f1d6bc0fc785c5e192d606c65fd404b008d12c /Source
parent27122d036b690c1e3601f219a0aa69d6ce52addf (diff)
downloadsequelpro-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
Diffstat (limited to 'Source')
-rw-r--r--Source/SPCustomQuery.m3
-rw-r--r--Source/SPTableContent.m3
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--;