рефакторинг хранения окон

This commit is contained in:
2024-10-15 02:32:52 +03:00
parent 1f6cc4a579
commit 2999390b91
105 changed files with 421 additions and 318 deletions

View File

@@ -31,7 +31,7 @@ public class PublishBugReport extends Pass<BugReport> {
return false;
}
if (target.executor.isEmpty()) {
UI.getMainWindow().getCallbackWindow().FocusRecipients();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().FocusRecipients();
if (!UI_.Question("Для отчёта об ошибке не назначен исполнитель.\nВсе равно опубликовать его"))
return false;
}
@@ -72,6 +72,6 @@ public class PublishBugReport extends Pass<BugReport> {
@Override
protected void showDone() throws Exception {
Global.componentsServer.db.bugReports.RefreshUI();
UI.getMainWindow().getCallbackWindow().ShowCurrentBugReport();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
}
}