рефакторинг хранения окон
This commit is contained in:
@@ -54,7 +54,7 @@ public class UpdateBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
target.change_date = new Date().getTime();
|
||||
server.db.Update(target);
|
||||
server.db.bugReports.RefreshUI();
|
||||
UI.getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
} else
|
||||
return canUpdate();
|
||||
return false;
|
||||
@@ -86,7 +86,7 @@ public class UpdateBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
@Override
|
||||
protected void showFinish() throws Exception {
|
||||
Global.componentsServer.db.bugReports.RefreshUI();
|
||||
UI.getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user