aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCopyTable.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-08 12:31:32 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-08 12:31:32 +0000
commit271b47b558c0fdbf23c68d29163185127ac5d4f3 (patch)
treebf937b5c6990ddc8a4f50fd19267408210846d2e /Source/SPCopyTable.m
parent73dca377472fe466ac5b2b2d0ba13ae109863f59 (diff)
downloadsequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.tar.gz
sequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.tar.bz2
sequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.zip
• improved issues for tooltip in Content and Custom tables
- added not yet supported MCPGeometryData view - removed @try clauses, instead make usage of pthread_mutex_lock etc. approach • adjusted autodetectWidthForColumnDefinition: for SPCopyTable to calculate the width by taking the WKT string of MCPGeometryData • added SPGeometryDataView class which will be used for displaying GEOMETRY data as image (for tooltips, inside field editor sheet) [not yet implemented]
Diffstat (limited to 'Source/SPCopyTable.m')
-rw-r--r--Source/SPCopyTable.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m
index 9d014839..736052dc 100644
--- a/Source/SPCopyTable.m
+++ b/Source/SPCopyTable.m
@@ -669,9 +669,9 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003;
// Retrieve the cell's content
contentString = [tableStorage cellDataAtRow:i column:columnIndex];
- // TODO it's temporarily
+ // Get WKT string out of the MCPGeometryData for calculation
if ([contentString isKindOfClass:[MCPGeometryData class]])
- contentString = [contentString description];
+ contentString = [contentString wktString];
// Replace NULLs with their placeholder string
else if ([contentString isNSNull]) {