aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
committerrowanbeentje <rowan@beent.je>2010-11-27 22:51:47 +0000
commit10117475bae9659b41d41c8d408bee3a3c0d6cf2 (patch)
tree82f49c6b362c128faf9c58d80bb24fe0bbbd46c6 /Source/SPTablesList.m
parent9309908a0e5e425314f9e602ed79056134aa7750 (diff)
downloadsequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.gz
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.tar.bz2
sequelpro-10117475bae9659b41d41c8d408bee3a3c0d6cf2.zip
- Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )
- Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
Diffstat (limited to 'Source/SPTablesList.m')
-rw-r--r--Source/SPTablesList.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 45999ea1..bbc40164 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -1443,6 +1443,9 @@
// Disallow selection while the document is working on a task
if ([tableDocumentInstance isWorking]) return NO;
+ // Allow deselections
+ if (rowIndex == -1) return YES;
+
if(![[filteredTables objectAtIndex:rowIndex] isKindOfClass:[NSString class]])
return NO;