aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/TableSource.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index 44a11321..ed624445 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -1032,7 +1032,7 @@ fetches the result as an array with a dictionary for each row in it
withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]];
isEditingRow = NO;
} else {
- [tableFields removeObjectAtIndex:[tableSourceView selectedRow]];
+ [tableFields removeObjectAtIndex:currentlyEditingRow];
isEditingRow = NO;
isEditingNewRow = NO;
}