diff options
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 74505e23..ca045d92 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -45,6 +45,7 @@ #import "SPAlertSheets.h" #import "SPMainThreadTrampoline.h" #import "SPCopyTable.h" +#import "SPGeometryDataView.h" #import <BWToolkitFramework/BWToolkitFramework.h> @@ -2222,7 +2223,14 @@ } } else if ([theValue isKindOfClass:[MCPGeometryData class]]) { - ; // TODO + 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) |