mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
Added filetype guessing to the import wizard.
This commit is contained in:
parent
1c4f1de543
commit
9e5b15ceb4
@ -161,7 +161,8 @@ public class ImportSelectFilesWizardPane extends WizardPane {
|
|||||||
for (int i=0; i<filenames.length; i++) {
|
for (int i=0; i<filenames.length; i++) {
|
||||||
ImportSpecification spec = new ImportSpecification(
|
ImportSpecification spec = new ImportSpecification(
|
||||||
path + File.separatorChar+ filenames[i],
|
path + File.separatorChar+ filenames[i],
|
||||||
wizard.getDisk().getSuggestedFilename(filenames[i]));
|
wizard.getDisk().getSuggestedFilename(filenames[i]),
|
||||||
|
wizard.getDisk().getSuggestedFiletype(filenames[i]));
|
||||||
wizard.addImportSpecification(spec);
|
wizard.addImportSpecification(spec);
|
||||||
}
|
}
|
||||||
refreshTable();
|
refreshTable();
|
||||||
|
Loading…
Reference in New Issue
Block a user