diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-09-22 08:55:37 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-09-22 08:55:37 +0000 |
commit | 41fd5f154a34aa8405884856b5fb3fe484e03ef3 (patch) | |
tree | e1eb51d25a1053250b7528e03c42dc44ebf023f0 /Source | |
parent | fdb1acef702128747b8bb1a9b4d089ac5be7e945 (diff) | |
download | sequelpro-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.m | 2 |
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; } |