aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContentDelegate.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2014-06-16 02:28:25 +0100
committerrowanbeentje <rowan@beent.je>2014-06-16 02:28:25 +0100
commit690c2fa83a5a3138bf4aa0fa862565c833b72d2a (patch)
tree799539bb55df6b2c4ff65709fd1add69fcc074ce /Source/SPTableContentDelegate.m
parentae239070319b0a8cacc8b17cdcb245ce29956759 (diff)
downloadsequelpro-690c2fa83a5a3138bf4aa0fa862565c833b72d2a.tar.gz
sequelpro-690c2fa83a5a3138bf4aa0fa862565c833b72d2a.tar.bz2
sequelpro-690c2fa83a5a3138bf4aa0fa862565c833b72d2a.zip
Add a safety check within [SPCopyTable shouldUseFieldEditorForRow:column:] for use when loading tables, which may improve Issue #1925 and Issue #1902.
Diffstat (limited to 'Source/SPTableContentDelegate.m')
-rw-r--r--Source/SPTableContentDelegate.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m
index ee22c03d..23cbfb6c 100644
--- a/Source/SPTableContentDelegate.m
+++ b/Source/SPTableContentDelegate.m
@@ -262,7 +262,7 @@
}
// Open the editing sheet if required
- if ([tableContentView shouldUseFieldEditorForRow:rowIndex column:[[tableColumn identifier] integerValue]]) {
+ if ([tableContentView shouldUseFieldEditorForRow:rowIndex column:[[tableColumn identifier] integerValue] checkWithLock:NULL]) {
// Retrieve the column definition
NSDictionary *columnDefinition = [cqColumnDefinition objectAtIndex:[[tableColumn identifier] integerValue]];
@@ -750,7 +750,7 @@
}
// Open the field editor sheet if required
- if ([tableContentView shouldUseFieldEditorForRow:row column:column])
+ if ([tableContentView shouldUseFieldEditorForRow:row column:column checkWithLock:NULL])
{
[tableContentView setFieldEditorSelectedRange:[aFieldEditor selectedRange]];