diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index de23ba80..71c581bf 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -3096,7 +3096,7 @@ if ([menuItem action] == @selector(importFromClipboard:)) { - return ([[NSPasteboard generalPasteboard] availableTypeFromArray:[NSArray arrayWithObjects:NSStringPboardType, nil]]) ? YES : NO; + return ([self database] && [[NSPasteboard generalPasteboard] availableTypeFromArray:[NSArray arrayWithObjects:NSStringPboardType, nil]]) ? YES : NO; } |