From 12b199d998018affa4e358b0d4e26f7cd878f8cd Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sat, 30 Jan 2010 17:12:30 +0000 Subject: =?UTF-8?q?=E2=80=A2=20suppress=20the=20display=20of=20table=20cel?= =?UTF-8?q?l=20tooltips=20if=20TableDocument=20isWorking=20to=20avoid=20un?= =?UTF-8?q?stable=20tooltip=20status?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.m | 2 +- Source/TableContent.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m index 251f19cc..2a93f425 100644 --- a/Source/CustomQuery.m +++ b/Source/CustomQuery.m @@ -1805,7 +1805,7 @@ - (NSString *)tableView:(NSTableView *)aTableView toolTipForCell:(SPTextAndLinkCell *)aCell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation { - if([[aCell stringValue] length] < 2) return nil; + if([[aCell stringValue] length] < 2 || [tableDocumentInstance isWorking]) return nil; NSImage *image; diff --git a/Source/TableContent.m b/Source/TableContent.m index c0814670..e220a4b1 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2582,7 +2582,7 @@ - (NSString *)tableView:(NSTableView *)aTableView toolTipForCell:(SPTextAndLinkCell *)aCell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation { - if([[aCell stringValue] length] < 2) return nil; + if([[aCell stringValue] length] < 2 || [tableDocumentInstance isWorking]) return nil; NSImage *image; -- cgit v1.2.3