From 59ffe397d30318f92a887d8e76893afe33add82b Mon Sep 17 00:00:00 2001 From: Carlos Galindo Date: Wed, 11 Sep 2019 19:08:35 +0200 Subject: [PATCH] Settings: enabled showFeedback setting --- src/main/java/es/kauron/jstudy/controller/TestController.java | 1 + src/main/resources/es/kauron/jstudy/view/settings.fxml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/es/kauron/jstudy/controller/TestController.java b/src/main/java/es/kauron/jstudy/controller/TestController.java index 41451d4..0f2d830 100644 --- a/src/main/java/es/kauron/jstudy/controller/TestController.java +++ b/src/main/java/es/kauron/jstudy/controller/TestController.java @@ -37,6 +37,7 @@ public class TestController implements Initializable { @Override public void initialize(URL url, ResourceBundle resourceBundle) { skipButton.disableProperty().bind(correctingError); + feedback.visibleProperty().bind(AppPrefs.showFeedback); } void setList(List list) { diff --git a/src/main/resources/es/kauron/jstudy/view/settings.fxml b/src/main/resources/es/kauron/jstudy/view/settings.fxml index b74acfd..65d17ac 100644 --- a/src/main/resources/es/kauron/jstudy/view/settings.fxml +++ b/src/main/resources/es/kauron/jstudy/view/settings.fxml @@ -7,7 +7,7 @@ - +