diff options
author | rowanbeentje <rowan@beent.je> | 2010-11-27 22:51:47 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-11-27 22:51:47 +0000 |
commit | 10117475bae9659b41d41c8d408bee3a3c0d6cf2 (patch) | |
tree | 82f49c6b362c128faf9c58d80bb24fe0bbbd46c6 /Source/SPTablesList.m | |
parent | 9309908a0e5e425314f9e602ed79056134aa7750 (diff) | |
download | sequelpro-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.m | 3 |
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; |