mirror of
https://gitlab.com/kauron/jstudy
synced 2024-11-13 07:33:44 +01:00
Test: removed bug where correcting an error would generate extra items
This commit is contained in:
parent
2f82568f46
commit
8a279ae1cb
1 changed files with 4 additions and 2 deletions
|
@ -108,9 +108,11 @@ public class TestController implements Initializable {
|
|||
}
|
||||
chooseQuestion();
|
||||
} else if (AppPrefs.repeatImmediately.get()) {
|
||||
correctingError.set(true);
|
||||
item.set(new TestItem(item.get()));
|
||||
if (!correctingError.get()) {
|
||||
correctingError.set(true);
|
||||
list.add(item.get());
|
||||
}
|
||||
} else {
|
||||
chooseQuestion();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue