Skip to content

Commit

Permalink
Disable practice mode for imported exercises.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hialus committed Nov 6, 2024
1 parent fdc2501 commit 7a618f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private QuizExercise copyQuizExerciseBasis(QuizExercise importedExercise) {
newExercise.setRandomizeQuestionOrder(importedExercise.isRandomizeQuestionOrder());
newExercise.setAllowedNumberOfAttempts(importedExercise.getAllowedNumberOfAttempts());
newExercise.setRemainingNumberOfAttempts(importedExercise.getRemainingNumberOfAttempts());
newExercise.setIsOpenForPractice(importedExercise.isIsOpenForPractice());
newExercise.setIsOpenForPractice(false);
newExercise.setQuizMode(importedExercise.getQuizMode());
newExercise.setDuration(importedExercise.getDuration());
return newExercise;
Expand Down

0 comments on commit 7a618f8

Please sign in to comment.