aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-06-14 00:19:01 +0000
committerrowanbeentje <rowan@beent.je>2011-06-14 00:19:01 +0000
commitb4b81b2dd07674b7dc3208e3b79690f66b1bf113 (patch)
tree712709715094c00668e681e83d0ce91cfb061d26 /Source/SPTableData.m
parent876a4e359f72653a4be001b5bb41900253794b58 (diff)
downloadsequelpro-b4b81b2dd07674b7dc3208e3b79690f66b1bf113.tar.gz
sequelpro-b4b81b2dd07674b7dc3208e3b79690f66b1bf113.tar.bz2
sequelpro-b4b81b2dd07674b7dc3208e3b79690f66b1bf113.zip
- Fix "Multiple selection" still being displayed after multiple tables are deleted
- If multiple tables are selected when opening the SPFieldMapperController select the first to import into - Clean up tableName in tablesList - now returns nil if no tables are selected or multiple tables are selected, instead of returning an empty string for multiple tables
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index de253e57..1936d0b1 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -928,7 +928,7 @@
BOOL changeEncoding = ![[mySQLConnection encoding] isEqualToString:@"utf8"];
// Catch unselected tables and return false
- if ([[tableListInstance tableName] isEqualToString:@""] || ![tableListInstance tableName]) {
+ if (![tableListInstance tableName]) {
pthread_mutex_unlock(&dataProcessingLock);
return FALSE;
}