Add class to ABC file

This commit is contained in:
Jindra Petřík
2022-11-20 15:55:48 +01:00
parent f0f8689bcc
commit 775c46ae94
9 changed files with 117 additions and 49 deletions

View File

@@ -934,7 +934,9 @@ public class Main {
doABC2Tag.setTimelined(dummySwf);
dummySwf.clearModified();
startWork(AppStrings.translate("work.reading.abc"), this);
return new ABC(new ABCInputStream(new MemoryInputStream(Helper.readFile(file))), dummySwf, doABC2Tag, file, fileTitle);
ABC abc = new ABC(new ABCInputStream(new MemoryInputStream(Helper.readFile(file))), dummySwf, doABC2Tag, file, fileTitle);
doABC2Tag.setABC(abc);
return abc;
}
@Override