Commit c90666d4 authored by Deepak  Kumar's avatar Deepak Kumar

fixed typos

parent a1803ece
......@@ -197,8 +197,8 @@ ActivityBase {
noOfRows: operatorRow.repeater.model.length
rowNo: modelData
guesscount: items.result
prevText: modelData ? repeat.itemAt(modelData-1).text : ''
prevComplete: modelData ? repeat.itemAt(modelData-1).complete : false
prevText: modelData && repeat.itemAt(modelData-1) ? repeat.itemAt(modelData-1).text : ''
prevComplete: modelData && repeat.itemAt(modelData-1) ? repeat.itemAt(modelData-1).complete : false
reparent: items.solved || items.levelchanged
}
......
......@@ -35,7 +35,7 @@ Row {
property bool complete
property bool prevComplete
property bool reparent
property var prevText
property var prevText: ""
property string text: endResult.text
Component {
id: component1
......@@ -83,7 +83,7 @@ Row {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
fontSize: mediumSize
text: ""
text: prevText
}
}
}
......
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