перенос проходов в центральный модуль
This commit is contained in:
@@ -54,9 +54,9 @@ public class DownloadProject extends CurrentConnectionPass {
|
||||
protected void performDone() throws Exception {
|
||||
File project = Paths.get(Global.visualiser.getWorkspace().getAbsolutePath(),
|
||||
Utils_.getDateName(src.name)).toFile();
|
||||
if (passes.get(PassCode.UnzipFolderPass).Do(local_archive.getAbsolutePath(), project.getAbsolutePath())) {
|
||||
if ( Global.mainModule.getPass(PassCode.UnzipFolderPass).Do(local_archive.getAbsolutePath(), project.getAbsolutePath())) {
|
||||
if (UI_.Question("Проект " + Utils_.Brackets(src.name) + " успешно загружен. Открыть его"))
|
||||
passes.get(PassCode.OpenCurrentProject).Do(project);
|
||||
Global.mainModule.getPass(PassCode.OpenCurrentProject).Do(project);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user