патч на применение настроек старых баг репортов

This commit is contained in:
2025-01-16 19:04:46 +03:00
parent 1b6db1fd5b
commit 96a269004d
10 changed files with 109 additions and 112 deletions

View File

@@ -156,7 +156,6 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
Global.componentsServer.db.bugReports.mountUI(bugReportsPanel);
Global.componentsServer.db.subscribers.mountUI(subscribersPanel);
Global.componentsServer.db.workspaces.mountUI(workspacesPanel);
settingsTools.add(Global.mainModule.getPass(PassCode.ApplyBugReportSettings).createButton());
//-
if (!Global.mainModule.getPass(PassCode.CheckAccount).isDone()) {
accountTools.add(Global.mainModule.getPass(PassCode.CheckAccount).createButton());
@@ -518,7 +517,6 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
BugReportComment.ShowBegin();
BugReportCommentAddition.setText(target.commentAdditionDraft);
BugReportSettings.setText(target.getSettingsSummary());
Global.mainModule.setPassesControlsVisible(true, PassCode.ApplyBugReportSettings);
//
if (target.state.equals(BugReportState.draft)) {
ShowDraft();
@@ -559,7 +557,6 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
PassCode.SaveBugReportDescription,
PassCode.SaveBugReportComment,
PassCode.AppendBugReportComment,
PassCode.ApplyBugReportSettings,
PassCode.PublishBugReport,
PassCode.OpenBugReport,
PassCode.CloseBugReport,