1
0
Fork 0
mirror of https://gitlab.com/kauron/jstudy synced 2024-11-13 07:33:44 +01:00

Settings: enabled showFeedback setting

This commit is contained in:
Carlos Galindo 2019-09-11 19:08:35 +02:00
parent 3d41dbf779
commit 59ffe397d3
Signed by: kauron
GPG key ID: 83E68706DEE119A3
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,7 @@ public class TestController implements Initializable {
@Override @Override
public void initialize(URL url, ResourceBundle resourceBundle) { public void initialize(URL url, ResourceBundle resourceBundle) {
skipButton.disableProperty().bind(correctingError); skipButton.disableProperty().bind(correctingError);
feedback.visibleProperty().bind(AppPrefs.showFeedback);
} }
void setList(List<TestItem> list) { void setList(List<TestItem> list) {

View file

@ -7,7 +7,7 @@
<children> <children>
<JFXCheckBox fx:id="repeatMistakes" text="_Repeat mistakes" /> <JFXCheckBox fx:id="repeatMistakes" text="_Repeat mistakes" />
<JFXCheckBox fx:id="repeatImmediately" text="_Always repeat immediatly"/> <JFXCheckBox fx:id="repeatImmediately" text="_Always repeat immediatly"/>
<JFXCheckBox fx:id="showFeedback" disable="true" layoutX="237.0" layoutY="201.0" text="Show _feedback while testing" /> <JFXCheckBox fx:id="showFeedback" text="Show _feedback while testing" />
</children> </children>
<padding> <padding>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />