перенос проходов в центральный модуль
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user