перенос проходов в центральный модуль

This commit is contained in:
2024-10-13 23:55:03 +03:00
parent 6afa2dc892
commit 4e86871571
150 changed files with 510 additions and 576 deletions

View File

@@ -15,7 +15,7 @@ public class CopyProject extends CurrentProjectPass {
protected File dstFile = null;
protected boolean migrateData = false;
@Override
protected boolean hasStats() {
public boolean hasStats() {
return true;
}
@Override
@@ -63,8 +63,8 @@ public class CopyProject extends CurrentProjectPass {
@Override
protected void performDone() throws Exception {
if (UI_.Question("копия текущего проекта успешно создана по адресу\n" + dstFile.getAbsolutePath() + "\nОткрыть её")) {
passes.get(PassCode.CloseCurrentProject).Do();
passes.get(PassCode.OpenCurrentProject).Do(dstFile);
Global.mainModule.getPass(PassCode.CloseCurrentProject).Do();
Global.mainModule.getPass(PassCode.OpenCurrentProject).Do(dstFile);
}
}
}