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

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

@@ -47,8 +47,8 @@ public class SynchronizeBugReports extends ComponentsRepositoryPass<Object> {
}
@Override
protected void showDone() throws Exception {
if (UI.HasMainWindow()) {
UI.getMainWindow().getCallbackWindow().ShowBugReports();
if (Global.mainModule.getUI().hasMainWindow()) {
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowBugReports();
Global.componentsServer.db.bugReports.RestoreLastSelections();
server.db.subscribers.RestoreLastSelections();
server.db.workspaces.RestoreLastSelections();