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:
parent
3d41dbf779
commit
59ffe397d3
2 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue