v++
Папка для загрузок, и пропущенный баг с настройками визуализатора.
This commit is contained in:
@@ -25,11 +25,12 @@ public class OpenBugReportTestProject extends Pass<BugReport> {
|
||||
if (Global.componentsServer.db.CheckCurrent(Log, BugReport.class) &&
|
||||
(target = Global.componentsServer.db.bugReports.getUI().getCurrent()).CheckNotDraft(Log)) {
|
||||
if (!target.project_version.isEmpty()) {
|
||||
root = Paths.get(ComponentsSet.visualiser.getWorkspace().getAbsolutePath(),
|
||||
target.id).toFile();
|
||||
project = Paths.get(root.getAbsolutePath(),
|
||||
Utils_.isWindows() ? Utils_.toW(target.project_version)
|
||||
: Utils_.toU(target.project_version)).toFile();
|
||||
root = new File(Global.DownloadsDirectory, target.id);
|
||||
|
||||
|
||||
project = new File(root,
|
||||
Utils_.isWindows() ? Utils_.toW(target.project_version) : Utils_.toU(target.project_version)
|
||||
);
|
||||
return true;
|
||||
} else {
|
||||
Log.Writeln_("Отчёт об ошибке не содержит прикреплённого проекта!");
|
||||
|
||||
Reference in New Issue
Block a user