Commit 0c92d4d0 authored by Marco Martin's avatar Marco Martin

don't switch activity on startup

parent 69a26739
......@@ -50,12 +50,13 @@ Item {
height: 10
cacheItemCount: 999//count
delegate: Item {
Component.onCompleted: {
activityModel.setCurrentActivity(model.id, function(){});
}
Connections {
target: model
onCurrentChanged: activityModel.setCurrentActivity(model.id, function(){});
target: activitiesRepresentation
onCurrentIndexChanged: {
if (index == activitiesRepresentation.currentIndex) {
activityModel.setCurrentActivity(model.id, function(){});
}
}
}
}
}
......
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