aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r--Source/TablesList.m8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index 7d7eb586..78ec12f8 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -1429,12 +1429,8 @@
return NO;
}
- // We have to be sure that TableSource and TableContent have finished editing
- if ( ![tableSourceInstance saveRowOnDeselect] || ![tableContentInstance saveRowOnDeselect] ) {
- return NO;
- } else {
- return YES;
- }
+ // We have to be sure that document views have finished editing
+ return [tableDocumentInstance couldCommitCurrentViewActions];
}
/**