aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 3aa154a7..760526c9 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -3350,14 +3350,14 @@
}
}
else if ([theValue isKindOfClass:[MCPGeometryData class]]) {
- // SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]];
- // image = [v image];
- // if(image) {
- // [SPTooltip showWithObject:image atLocation:pos ofType:@"image"];
- // [v release];
- // return nil;
- // }
- // [v release];
+ SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]];
+ image = [v thumbnailImage];
+ if(image) {
+ [SPTooltip showWithObject:image atLocation:pos ofType:@"image"];
+ [v release];
+ return nil;
+ }
+ [v release];
}
// Show the cell string value as tooltip (including line breaks and tabs)