diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-10 02:05:28 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-10 02:05:28 +0000 |
commit | 59167274d90d722ee97c2c333f57b8af5b7a7b39 (patch) | |
tree | 51d7c1102411142a8d05265f5a84804e9f0746da /Source/TableDump.m | |
parent | 3635900e70976b376a112f086fbab1983504cce9 (diff) | |
download | sequelpro-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
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r-- | Source/TableDump.m | 1 |
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]; } |