aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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--;