Added filetype guessing to the import wizard.

This commit is contained in:
Robert Greene 2003-02-17 04:43:51 +00:00
parent 1c4f1de543
commit 9e5b15ceb4
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ public class ImportSelectFilesWizardPane extends WizardPane {
for (int i=0; i<filenames.length; i++) {
ImportSpecification spec = new ImportSpecification(
path + File.separatorChar+ filenames[i],
wizard.getDisk().getSuggestedFilename(filenames[i]));
wizard.getDisk().getSuggestedFilename(filenames[i]),
wizard.getDisk().getSuggestedFiletype(filenames[i]));
wizard.addImportSpecification(spec);
}
refreshTable();