aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-22 08:55:37 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-22 08:55:37 +0000
commit41fd5f154a34aa8405884856b5fb3fe484e03ef3 (patch)
treee1eb51d25a1053250b7528e03c42dc44ebf023f0 /Source
parentfdb1acef702128747b8bb1a9b4d089ac5be7e945 (diff)
downloadsequelpro-41fd5f154a34aa8405884856b5fb3fe484e03ef3.tar.gz
sequelpro-41fd5f154a34aa8405884856b5fb3fe484e03ef3.tar.bz2
sequelpro-41fd5f154a34aa8405884856b5fb3fe484e03ef3.zip
• fixed issue 834 for filtering table list if TablesListView doesn't have the focus
- corrected in tableViewSelectionDidChange: the check whether the selection was changed or not
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index fd95687d..9f409e57 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -1547,7 +1547,7 @@
if ([tablesListView numberOfSelectedRows] == 1
&& [(NSString *)selectedItem length]
&& [selectedTableName isEqualToString:(NSString *)selectedItem]
- && selectedTableType == [(NSString *)selectedItem integerValue])
+ && selectedTableType == [[filteredTableTypes objectAtIndex:[tablesListView selectedRow]] integerValue])
{
return;
}