diff options
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r-- | Source/SPTableContent.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 4fb1bd3e..a69ad5e2 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -3888,7 +3888,10 @@ [fieldEditor setAllowNULL:allowNULL]; id cellValue = [tableValues cellDataAtRow:rowIndex column:[[aTableColumn identifier] integerValue]]; - if ([cellValue isNSNull]) cellValue = [NSString stringWithString:[prefs objectForKey:SPNullValue]]; + if ([cellValue isNSNull]) + cellValue = [NSString stringWithString:[prefs objectForKey:SPNullValue]]; + else if ([cellValue isKindOfClass:[MCPGeometryData class]]) + cellValue = [cellValue wktString]; id editData = [[fieldEditor editWithObject:cellValue fieldName:[[aTableColumn headerCell] stringValue] |