aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 5a130b96..08b10d45 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -3647,6 +3647,8 @@
// Catch editing events in the row and if the row isn't currently being edited,
// start an edit. This allows edits including enum changes to save correctly.
+ if ( isEditingRow && [tableContentView selectedRow] != currentlyEditingRow )
+ [self saveRowOnDeselect];
if ( !isEditingRow ) {
[oldRow setArray:[tableValues rowContentsAtIndex:rowIndex]];
isEditingRow = YES;