From 10117475bae9659b41d41c8d408bee3a3c0d6cf2 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 27 Nov 2010 22:51:47 +0000 Subject: - 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 --- Source/SPTablesList.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/SPTablesList.m') 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; -- cgit v1.2.3