diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-04-12 13:54:56 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-04-12 13:54:56 +0000 |
commit | 6867d2ec117eaa9537a5e6ccb39fc233d790ba61 (patch) | |
tree | 08ad956edaaaeabb091526287b13d70e837e9320 /Source | |
parent | ba9e5fc5c311e756c6a1e1e7294d2c719d5b4709 (diff) | |
download | sequelpro-6867d2ec117eaa9537a5e6ccb39fc233d790ba61.tar.gz sequelpro-6867d2ec117eaa9537a5e6ccb39fc233d790ba61.tar.bz2 sequelpro-6867d2ec117eaa9537a5e6ccb39fc233d790ba61.zip |
• renamed 'Open' button in 'Import from Clipboard' to 'Next'
• fixed 'Import from Clipboard' menu item validation to be disabled if no database is selected (thanks to avenjamin for pointing it out)
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; } |