aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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;
}