Commit 397a4969 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

findit, removed a reference to main which creates undef

When we leave an activity main is undef and we are still bind on it.
parent f9d4f918
......@@ -67,18 +67,18 @@ ActivityBase {
GridView {
id: container
model: containerModel
x: main.width * 0.2
y: main.height * 0.2
width: main.width * 0.7
height: main.height * 0.6
x: background.width * 0.2
y: background.height * 0.2
width: background.width * 0.7
height: background.height * 0.6
interactive: false
cellWidth: itemHeight + 10
cellHeight: itemWidth + 10
delegate: ColorItem {
audioVoices: activity.audioVoices
source: image
audioSrc: audio
question: text
source: model.image
audioSrc: model.audio
question: model.text
sourceSize.height: itemHeight
sourceSize.width: itemWidth
}
......
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