aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-10 02:05:28 +0000
committerrowanbeentje <rowan@beent.je>2010-03-10 02:05:28 +0000
commit59167274d90d722ee97c2c333f57b8af5b7a7b39 (patch)
tree51d7c1102411142a8d05265f5a84804e9f0746da
parent3635900e70976b376a112f086fbab1983504cce9 (diff)
downloadsequelpro-59167274d90d722ee97c2c333f57b8af5b7a7b39.tar.gz
sequelpro-59167274d90d722ee97c2c333f57b8af5b7a7b39.tar.bz2
sequelpro-59167274d90d722ee97c2c333f57b8af5b7a7b39.zip
- Fix the "Import" button for the "Do you really want to load a [large] SQL file" dialog if no imports have been performed in the session
-rw-r--r--Source/TableDump.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m
index eb07b332..78ae1a41 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -1175,6 +1175,7 @@
- (void)startSQLImportProcessWithFile:(NSString *)filename
{
+ if (!importFormatPopup) [NSBundle loadNibNamed:@"ImportAccessory" owner:self];
[importFormatPopup selectItemWithTitle:@"SQL"];
[NSThread detachNewThreadSelector:@selector(importBackgroundProcess:) toTarget:self withObject:filename];
}