Skip to content
Snippets Groups Projects
Commit c61ad0ae authored by Dennis Toth's avatar Dennis Toth
Browse files

bugfix in course modification option

parent a64bba62
No related branches found
No related tags found
No related merge requests found
......@@ -123,14 +123,17 @@ public class CourseModificationController {
course.setName(name.getText());
if(semesterComboBox.getValue() != null){
semester = semesterComboBox.getValue();
course.setSemester(semester.getSemester());
}
if(courseTypeComboBox.getValue() != null){
courseType = courseTypeComboBox.getValue();
course.setCourseType(courseType.getCourseType());
}
course.setSws(Integer.parseInt(sws.getText()));
course.setEcts(Double.parseDouble(ects.getText()));
if(examTypeComboBox.getValue() != null){
examType = examTypeComboBox.getValue();
course.setExamType(examType.getExamType());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment