Skip to content

Commit

Permalink
Edit Distribution Preference
Browse files Browse the repository at this point in the history
- fixed the itype auto selection when there is only one course in the selected subject area
- corrected a bug introduced in commit 66e40be
  • Loading branch information
tomas-muller committed Oct 9, 2023
1 parent e2091ff commit a5e3be6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ private void setLookupLists(List<ComboBoxLookup> subjectAreaList) {
}

// Only one record - select it to save time and one more click
if(subparts.size()==1) {
if(subpartList.size()==1) {
ComboBoxLookup cbl = (ComboBoxLookup) subpartList.elementAt(0);
form.setItype(index, cbl.getValue());
subpart = form.getItype(index);
Expand Down

0 comments on commit a5e3be6

Please sign in to comment.