Skip to content

Commit

Permalink
Hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoramy committed Sep 9, 2018
1 parent 90a6637 commit ffa7b02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void initialize(URL location, ResourceBundle resources) {

lblRepo.setText(updateAvailable.getRepo().getName());

progress.progressProperty().bind(examStarter.getQuestionPool().todoProperty().divide(examStarter.getQuestionPool().total()));
progress.progressProperty().bind(examStarter.getQuestionPool().todoProperty().divide((double) examStarter.getQuestionPool().total()));

btnRevert.visibleProperty().bind(Bindings.equal(0, examStarter.getQuestionPool().todoProperty()));
btnStart.visibleProperty().bind(btnRevert.visibleProperty().not());
Expand Down

0 comments on commit ffa7b02

Please sign in to comment.