изменение умолчаний для контролов таблиц

This commit is contained in:
2024-10-25 02:08:23 +03:00
parent f2de9054d0
commit f6ab578ce2
83 changed files with 172 additions and 428 deletions

View File

@@ -21,8 +21,8 @@ public class PublishBugReport extends Pass<BugReport> {
}
@Override
protected boolean canStart(Object... args) {
if ( Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
if (Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
if (!target.state.equals(BugReportState.draft)) {
Log.Writeln_("Отчёт об ошибке " + target.id + " уже опубликован!");
return false;