Commit c01a5c16 authored by Sandro Andrade's avatar Sandro Andrade

Fix bug when showing wrong patterns in rhythm exercises

parent 1a745dfa
......@@ -98,7 +98,7 @@ Column {
id: correctRhythmImage
anchors.centerIn: parent
source: (correctAnswers != undefined && exerciseView.exerciseType == "rhythm") ? "exercise-images/" + correctAnswers[index] + ".png":""
source: (correctAnswers != undefined && exerciseView.userMessage == "the rhythm") ? "exercise-images/" + correctAnswers[index] + ".png":""
fillMode: Image.Pad
}
}
......
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