Browse Source

Occupation will now also be saved for return

betaFixes
Bianca Steffes 3 years ago
parent
commit
3290349d86
  1. 16
      health_data_export/src/application/UICoordinator.java
  2. 1
      health_data_export/target/.gitignore
  3. BIN
      health_data_export/target/health_data_export-7.jar

16
health_data_export/src/application/UICoordinator.java

@ -1114,7 +1114,6 @@ public class UICoordinator implements ChangeListener<Boolean>
levelOne.setItems(getOccupationList(""));
levelOne.setDisable(false);
levelOne.setValue(Text.NOT_SET);
occupation= new Occupation(Text.NOT_SET);
levelOne.valueProperty().addListener(new ChangeListener<String>()
{
@ -1196,6 +1195,21 @@ public class UICoordinator implements ChangeListener<Boolean>
comboContainer.getChildren().add(levelThree);
comboContainer.getChildren().add(levelFour);
if(occupation==null)
{
occupation= new Occupation(Text.NOT_SET);
}
else
{
String lTwo=occupation.getLevelTwo();
String lThree=occupation.getLevelThree();
String lFour=occupation.getLevelFour();
levelOne.setValue(occupation.getLevelOne());
levelTwo.setValue(lTwo);
levelThree.setValue(lThree);
levelFour.setValue(lFour);
}
HBox jobInfo = new HBox();
jobInfo.setId("jobInfo");
jobInfo.minWidthProperty()

1
health_data_export/target/.gitignore

@ -3,3 +3,4 @@
/HealthTool-1.0.pkg
/healthtool_1.0-1_amd64.deb
/HealthTool-1.0.msi
/health_data_export-7.jar

BIN
health_data_export/target/health_data_export-7.jar

Loading…
Cancel
Save