Commit 3d4bf295 by Braden MacDonald

Fix: MCQ question text should be editable even if there are no choices defined yet

parent 45072bbc
......@@ -133,9 +133,7 @@ class MCQBlock(SubmittingXBlockMixin, QuestionnaireAbstractBlock):
all_values = set(self.all_choice_values)
correct = set(data.correct_choices)
if not all_values:
add_error(self._(u"No choices set yet."))
elif not correct:
if all_values and not correct:
add_error(
self._(u"You must indicate the correct answer[s], or the student will always get this question wrong.")
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment