Copy task multiple choice parameter in task copy

This commit is contained in:
Valentina Kiryushkina
2016-12-19 14:58:03 +03:00
parent a94e87e968
commit 46f9e05c48
@@ -348,6 +348,7 @@ public class Task implements StudyItem {
getTestsText().clear();
setStatus(StudyStatus.Unchecked);
setChoiceVariants(task.getChoiceVariants());
setMultipleChoice(task.isMultipleChoice());
final Map<String, String> testsText = task.getTestsText();
for (String testName : testsText.keySet()) {
addTestsTexts(testName, testsText.get(testName));