Assessment Generator behaviour update
On not enough practice words the screen is no longer force to switch to the dictionary and remains on the previously selected one
This commit is contained in:
parent
134e942740
commit
76e69d2859
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ public class AssessmentGenerator {
|
|||
alert.setHeaderText("Not enough words in practice list");
|
||||
alert.setResizable(false);
|
||||
alert.setContentText("Please add more words to your practice list on the dictionary page before trying to test yourself!");
|
||||
Optional<ButtonType> result = alert.showAndWait();
|
||||
ScreenSwitch.swap(ScreenSwitch.SceneEnum.dictionaryScene);
|
||||
alert.showAndWait();
|
||||
}else {
|
||||
|
||||
for (int numberToGenerate = 0; numberToGenerate < 10; numberToGenerate++) {
|
||||
|
|
Reference in a new issue