рефакторинг хранения окон
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user