Sun, 21 Jun 2020 12:31:38 +0200
adds graphical visualization for issue type and status
src/main/java/de/uapcore/lightpit/viewmodel/IssueEditView.java | file | annotate | diff | comparison | revisions |
--- a/src/main/java/de/uapcore/lightpit/viewmodel/IssueEditView.java Sun Jun 21 12:24:29 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/viewmodel/IssueEditView.java Sun Jun 21 12:31:38 2020 +0200 @@ -41,6 +41,9 @@ public void setVersions(List<Version> versions) { versionsRecent.clear(); versionsUpcoming.clear(); + // keep the current selection, if any + versionsRecent.addAll(issue.getAffectedVersions()); + versionsUpcoming.addAll(issue.getResolvedVersions()); for (var v : versions) { if (v.getStatus().isReleased()) { versionsRecent.add(v);