From 59167274d90d722ee97c2c333f57b8af5b7a7b39 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 10 Mar 2010 02:05:28 +0000 Subject: - 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 --- Source/TableDump.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source') 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]; } -- cgit v1.2.3