Commit 07ef3d6a authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

explore, fix undefined variable when finishing level 2

parent 967751b8
......@@ -171,7 +171,6 @@ ActivityBase {
anchors.fill: parent
anchors.margins: 10 * ApplicationInfo.ratio
layoutDirection: leftCol.width === 0 ? Qt.RightToLeft : Qt.LeftToRight
Column {
id: leftCol
spacing: 10 * ApplicationInfo.ratio
......@@ -193,7 +192,7 @@ ActivityBase {
color: "black"
width: parent.width
wrapMode: Text.Wrap
text: items.currentQuestion.text2
text: items.currentQuestion ? items.currentQuestion.text2 : ""
}
}
......
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